#include <Exception.h>
Public Types | |
enum | { MAX_EXCEPTION_STR_LEN = 2000 } |
Public Member Functions | |
Exception (SRM_Status_Code code) | |
Create exception with code only, no details description. | |
Exception (SRM_Status_Code code, const char *what) | |
Create exception with code and full description. | |
Exception (const Exception &other) | |
Create exception as a copy of another. | |
virtual | ~Exception () |
Destructor. | |
Exception & | operator= (const Exception &other) |
Copy exception data from another. | |
virtual void | setCodeAndWhat (SRM_Status_Code code, const char *what) |
Set the code and description information. | |
virtual SRM_Status_Code | getCode () const |
Returns the exception code value. | |
virtual const char * | getWhat () const |
Returns the exception description string. | |
Protected Attributes | |
SRM_Status_Code | _code |
Exception error code. | |
char | _what [MAX_EXCEPTION_STR_LEN+1] |
Exception error description. |
This is the general exception class thrown from failed methods. An exception typically contains an error code and a description string.
Definition at line 51 of file Exception.h.
|
Definition at line 55 of file Exception.h. |
Spatial Reference Model C++ API | Version 4.1 - 26 Jun 2006 |
Copyright © 2006 SEDRIS | Docs by Doxygen 1.3.2 |