Page MenuHomePhabricator (Chris)

token_exception.h
No OneTemporary

Authored By
Unknown
Size
651 B
Referenced Files
None
Subscribers
None

token_exception.h

#ifndef _paintown_token_exception_h
#define _paintown_token_exception_h
#include "exceptions/exception.h"
#include <string>
class TokenException: public Exception::Base {
public:
TokenException(const std::string & file, int line, const std::string reason = "");
TokenException(const TokenException & copy);
TokenException(const Exception::Base & base);
virtual ~TokenException() throw();
virtual void throwSelf() const {
throw *this;
}
protected:
virtual Exception::Base * copy() const;
virtual inline const std::string getReason() const {
return reason;
}
std::string reason;
};
#endif

File Metadata

Mime Type
text/x-c++
Expires
Sun, Nov 15, 12:41 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
127499
Default Alt Text
token_exception.h (651 B)

Event Timeline