Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F626408
token_exception.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
651 B
Referenced Files
None
Subscribers
None
token_exception.h
View Options
#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
Details
Attached
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)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline