#include <Exception.h>
Public Member Functions | |
| Exception (const char *pMessage) | |
| Exception (const String &rMessage="Karto Exception", kt_int32s errorCode=0) | |
| Exception (const Exception &rOther) | |
| kt_int32s | GetErrorCode () |
| const String & | GetErrorMessage () const |
| Exception & | operator= (const Exception &rException) |
| virtual | ~Exception () |
Private Attributes | |
| kt_int32s | m_ErrorCode |
| String | m_Message |
Friends | |
| KARTO_FORCEINLINE std::ostream & | operator<< (std::ostream &rStream, Exception &rException) |
Root class for all exceptions thrown from Karto.
Definition at line 38 of file Exception.h.
| karto::Exception::Exception | ( | const char * | pMessage | ) |
Exception with given message
| pMessage | exception message |
Definition at line 23 of file Exception.cpp.
| karto::Exception::Exception | ( | const String & | rMessage = "Karto Exception", |
| kt_int32s | errorCode = 0 |
||
| ) |
Exception with given message
| rMessage | exception message |
| errorCode | error code |
Definition at line 29 of file Exception.cpp.
| karto::Exception::Exception | ( | const Exception & | rOther | ) |
Copy constructor
Definition at line 35 of file Exception.cpp.
|
virtual |
Destructor
Definition at line 41 of file Exception.cpp.
| kt_int32s karto::Exception::GetErrorCode | ( | ) |
| const String & karto::Exception::GetErrorMessage | ( | ) | const |
Assignment operator
Definition at line 45 of file Exception.cpp.
|
friend |
Write exception to output stream
Definition at line 87 of file Exception.h.
|
private |
Definition at line 97 of file Exception.h.
|
private |
Definition at line 96 of file Exception.h.