karto::Exception Class Reference
#include <Karto.h>
List of all members.
Detailed Description
Exception class
Definition at line 74 of file Karto.h.
Constructor & Destructor Documentation
karto::Exception::Exception |
( |
const std::string & |
rMessage = "Karto Exception" , |
|
|
kt_int32s |
errorCode = 0 | |
|
) |
| | [inline] |
Constructor with exception message
- Parameters:
-
| rMessage | exception message |
| errorCode | |
Definition at line 82 of file Karto.h.
karto::Exception::Exception |
( |
const Exception & |
rException |
) |
[inline] |
Copy constructor
Definition at line 91 of file Karto.h.
virtual karto::Exception::~Exception |
( |
|
) |
[inline, virtual] |
Destructor
Definition at line 100 of file Karto.h.
Member Function Documentation
kt_int32s karto::Exception::GetErrorCode |
( |
|
) |
[inline] |
Gets error code
- Returns:
- error code
Definition at line 130 of file Karto.h.
const std::string& karto::Exception::GetErrorMessage |
( |
|
) |
const [inline] |
Gets the exception message
- Returns:
- error message as string
Definition at line 121 of file Karto.h.
Assignment operator
Definition at line 108 of file Karto.h.
Friends And Related Function Documentation
KARTO_EXPORT std::ostream& operator<< |
( |
std::ostream & |
rStream, |
|
|
Exception & |
rException | |
|
) |
| | [friend] |
Write exception to output stream
- Parameters:
-
| rStream | output stream |
| rException | exception to write |
Definition at line 129 of file Karto.cpp.
Member Data Documentation
The documentation for this class was generated from the following file: