OGRE
1.11.6
Object-Oriented Graphics Rendering Engine
|
Template struct which creates a distinct type for each exception code. More...
#include <OgreException.h>
Public Types | |
enum | ExceptionCodes { ERR_CANNOT_WRITE_TO_FILE, ERR_INVALID_STATE, ERR_INVALIDPARAMS, ERR_RENDERINGAPI_ERROR, ERR_DUPLICATE_ITEM, ERR_ITEM_NOT_FOUND = ERR_DUPLICATE_ITEM, ERR_FILE_NOT_FOUND, ERR_INTERNAL_ERROR, ERR_RT_ASSERTION_FAILED, ERR_NOT_IMPLEMENTED, ERR_INVALID_CALL } |
Static definitions of error codes. More... | |
Public Member Functions | |
UnimplementedException (int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine) | |
const String & | getDescription (void) const |
Returns a string with only the 'description' field of this exception. More... | |
const char * | getFile () const |
Gets source file name. More... | |
virtual const String & | getFullDescription (void) const |
Returns a string with the full description of this error. More... | |
long | getLine () const |
Gets line number. More... | |
const String & | getSource () const |
Gets the source function. More... | |
const char * | what () const throw () |
Override std::exception::what. More... | |
Template struct which creates a distinct type for each exception code.
|
inherited |
|
inline |
|
virtualinherited |
Returns a string with the full description of this error.
Reimplemented in Ogre::D3D11RenderingAPIException.
Referenced by Ogre::D3D11RenderingAPIException::getFullDescription().
|
inlineinherited |
Gets the source function.
|
inlineinherited |
Gets source file name.
|
inlineinherited |
Gets line number.
|
inlineinherited |
Returns a string with only the 'description' field of this exception.
Use getFullDescriptionto get a full description of the error including line number, error number and what function threw the exception.
|
inlineinherited |
Override std::exception::what.