#include <Exception.hpp>
|
| Exception (const char *message) |
|
| Exception (const std::string &message) |
|
| Exception (const std::string &message, const char *file, int line) |
|
virtual | ~Exception () throw () |
|
virtual const char * | what () const throw () |
|
miind exception base class.
Definition at line 37 of file Exception.hpp.
UtilLib::Exception::Exception |
( |
const char * |
message | ) |
|
|
explicit |
Constructor for C-style string error messages.
- Parameters
-
message | C-style string error message. The string contents are copied upon construction Responsibility for deleting the char* lies with the caller. |
Definition at line 26 of file Exception.cpp.
UtilLib::Exception::Exception |
( |
const std::string & |
message | ) |
|
|
explicit |
Constructor for STL string class error messages.
- Parameters
-
message | The error message. |
Definition at line 30 of file Exception.cpp.
UtilLib::Exception::Exception |
( |
const std::string & |
message, |
|
|
const char * |
file, |
|
|
int |
line |
|
) |
| |
|
explicit |
Constructur for STL string class error messages with file and line number.
- Parameters
-
message | an error message. |
file | a file name. |
line | a line number. |
Definition at line 34 of file Exception.cpp.
UtilLib::Exception::~Exception |
( |
| ) |
|
throw | ( | |
| ) | | |
|
virtual |
Destructor. Nothrow guarantee. Virtual to allow for subclassing.
Definition at line 42 of file Exception.cpp.
const char * UtilLib::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
Returns a pointer to the constant error message.
- Returns
- A pointer to a
const
char*
. The underlying memory is in posession of the Exception
object. Callers must not attempt to free the memory.
Definition at line 45 of file Exception.cpp.
std::string UtilLib::Exception::msg_ |
|
protected |
The documentation for this class was generated from the following files:
- /home/tanakas/Documents/13_LBMCELL/lbmsolver/libs/UtilLib/include/Exception.hpp
- /home/tanakas/Documents/13_LBMCELL/lbmsolver/libs/UtilLib/src/Exception.cpp