#include <OgreException.h>
Public Types | |
enum | ExceptionCodes { UNIMPLEMENTED_FEATURE, ERR_CANNOT_WRITE_TO_FILE, ERR_NO_RENDERSYSTEM_SELECTED, ERR_DIALOG_OPEN_ERROR, ERR_INVALIDPARAMS, ERR_RENDERINGAPI_ERROR, ERR_DUPLICATE_ITEM, ERR_ITEM_NOT_FOUND, ERR_FILE_NOT_FOUND, ERR_INTERNAL_ERROR, ERR_RT_ASSERTION_FAILED } |
Static definitions of error codes. More... | |
Public Methods | |
Exception (int number, const String &description, const String &source) | |
Default constructor. More... | |
Exception (int number, const String &description, const String &source, char *file, long line) | |
Advanced constructor. More... | |
Exception (const Exception &rhs) | |
Copy constructor. More... | |
void | operator= (const Exception &rhs) |
Assignment operator. More... | |
String | getFullDescription (void) const |
Returns a string with the full description of this error. More... | |
int | getNumber (void) throw () |
Gets the error code. More... | |
Static Public Methods | |
Exception * | getLastException (void) throw () |
Retrieves a pointer to the last exception created. More... | |
void | _pushFunction (const String &strFuncName) throw () |
Pushes a function on the stack. More... | |
void | _popFunction () throw () |
Pops a function from the stack. More... | |
Protected Attributes | |
long | line |
int | number |
String | description |
String | source |
String | file |
Static Protected Attributes | |
Exception * | last = NULL |
OgreChar | msFunctionStack [OGRE_CALL_STACK_DEPTH][256] |
ushort | msStackDepth = 0 |
The user application should never create any instances of this object unless it wishes to unify its error handling using the same object.
|
Static definitions of error codes.
|
|
Default constructor.
|
|
Advanced constructor.
|
|
Copy constructor.
|
|
Pops a function from the stack.
|
|
Pushes a function on the stack.
|
|
Returns a string with the full description of this error.
|
|
Retrieves a pointer to the last exception created.
|
|
Gets the error code.
|
|
Assignment operator.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright © 2002 by The OGRE Team