#include <error/Exceptions.h>
◆ SerializableException() [1/2]
◆ SerializableException() [2/2]
◆ ~SerializableException()
◆ reflectRead()
◆ reflectWrite()
void reflectWrite |
( |
Reflector & |
r | ) |
|
|
inline |
◆ raise()
virtual void raise |
( |
bool |
recursive = false | ) |
|
|
pure virtual |
◆ getClass()
Class const& getClass |
( |
| ) |
const |
|
inlineinherited |
◆ CLASS()
◆ internalGetClass()
virtual Class const& internalGetClass |
( |
| ) |
const |
|
protectedpure virtualinherited |
◆ addInfo()
void addInfo |
( |
std::string |
message, |
|
|
const char * |
file = NULL , |
|
|
int |
line = 0 |
|
) |
| |
|
inlineinherited |
Adds additional information to the exception.
- Note
- Ususally this method is not called directly, instead MIRA_RETHROW should be used to add additional information and to rethrow the exception.
- See also
- MIRA_THROW, MIRA_RETHROW
◆ what()
virtual const char* what |
( |
| ) |
const |
|
virtualinherited |
Returns the text of exception containing the information given in MIRA_THROW and MIRA_RETHROW as well as the file name and line number where it was thrown.
- See also
- MIRA_THROW, MIRA_RETHROW
◆ message()
std::string message |
( |
| ) |
const |
|
inherited |
Similar to what().
Returns the text of exception containing the information given in MIRA_THROW and MIRA_RETHROW without the file name and line number in a single line string.
- See also
- MIRA_THROW, MIRA_RETHROW
◆ callStack()
Returns the state of the callstack at the moment when the exception was thrown.
◆ getThreadID()
Returns the id of the thread where the exception was thrown.
◆ addStackInfo()
DerivedException& addStackInfo |
( |
| ) |
|
|
inlineinherited |
FOR INTERNAL USE ONLY.
Stores the current callstack and thread id within the exception. This method is called by the MIRA_THROW macro and is for internal use. You never need to call this method manually.
◆ addExternalStackInfo()
Stores the provided callstack and thread id within the exception.
This can be used to create an exception with a callstack from an external source (e.g. for an exception originally thrown in an RPC).
◆ getInfo()
const Info& getInfo |
( |
| ) |
const |
|
inlineinherited |
Returns the first info packet that describes the location where the exception has occured.
◆ ClassFactoryDefaultConstClassBuilder
friend class ClassFactoryDefaultConstClassBuilder |
|
friend |
◆ mInfos
◆ mStack
◆ mThreadID
◆ mMessage
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: