Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F633024
load_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
801 B
Referenced Files
None
Subscribers
None
load_exception.h
View Options
#ifndef _load_exception_h
#define _load_exception_h
#include
"exception.h"
/* Generic load exception class. Thrown whenever a structure is being created
* and an error occurs.
*/
#include
<string>
/* FIXME: put this in the Exception namespace */
class
LoadException
:
public
Exception
::
Base
{
public
:
LoadException
(
const
std
::
string
&
file
,
int
line
,
const
std
::
string
&
reason
);
LoadException
(
const
std
::
string
&
file
,
int
line
,
const
Exception
::
Base
&
nested
,
const
std
::
string
&
reason
);
LoadException
(
const
LoadException
&
copy
);
virtual
~
LoadException
()
throw
();
virtual
void
throwSelf
()
const
{
throw
*
this
;
}
virtual
Exception
::
Base
*
copy
()
const
;
protected
:
virtual
const
std
::
string
getReason
()
const
;
std
::
string
reason
;
};
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Sun, Nov 15, 3:52 PM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
126366
Default Alt Text
load_exception.h (801 B)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline