![]() |
gVirtualXRay
2.0.10
VirtualX-RayImagingLibraryonGPU
|
Exception is a class to handle exceptions. More...
#include <Exception.h>
Public Member Functions | |
Exception (const char *aFileName=0, const char *aFunctionName=0, int anErrorLine=0, const char *anErrorMessage=0) | |
Default constructor. More... | |
Exception (const char *aFileName, const char *aFunctionName, int anErrorLine, const std::string &anErrorMessage) | |
Constructor. More... | |
virtual | ~Exception () throw () |
Destructor. More... | |
virtual const char * | what () const throw () |
Accessor on the error message. More... | |
Protected Attributes | |
std::string | m_error_message |
The error message. More... | |
Exception is a class to handle exceptions.
Definition at line 109 of file Exception.h.
|
inline |
Default constructor.
aFileName | name of the source file where the exception was thrown (default value: 0) |
aFunctionName | name of the function where the exception was thrown (default value: 0) |
anErrorLine | name at which the exception was thrown (default value: 0) |
anErrorMessage | error message corresponding to the exception (default value: 0) |
Definition at line 91 of file Exception.inl.
|
inline |
Constructor.
aFileName | name of the source file where the exception was thrown |
aFunctionName | name of the function where the exception was thrown |
anErrorLine | name at which the exception was thrown |
anErrorMessage | error message corresponding to the exception |
Definition at line 118 of file Exception.inl.
|
inlinevirtual |
Destructor.
Definition at line 137 of file Exception.inl.
|
inlinevirtual |
Accessor on the error message.
Definition at line 143 of file Exception.inl.
|
protected |
The error message.
Definition at line 168 of file Exception.h.