#include <OgreException.h>
|
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...
|
|
◆ ExceptionCodes
Static definitions of error codes.
Enumerator |
---|
ERR_CANNOT_WRITE_TO_FILE | |
ERR_INVALID_STATE | |
ERR_INVALIDPARAMS | |
ERR_RENDERINGAPI_ERROR | |
ERR_DUPLICATE_ITEM | |
ERR_ITEM_NOT_FOUND | |
ERR_FILE_NOT_FOUND | |
ERR_INTERNAL_ERROR | |
ERR_RT_ASSERTION_FAILED | |
ERR_NOT_IMPLEMENTED | |
ERR_INVALID_CALL | |
◆ ItemIdentityException()
Ogre::ItemIdentityException::ItemIdentityException |
( |
int |
inNumber, |
|
|
const String & |
inDescription, |
|
|
const String & |
inSource, |
|
|
const char * |
inFile, |
|
|
long |
inLine |
|
) |
| |
|
inline |
◆ getFullDescription()
virtual const String& Ogre::Exception::getFullDescription |
( |
void |
| ) |
const |
|
virtualinherited |
◆ getSource()
const String& Ogre::Exception::getSource |
( |
| ) |
const |
|
inlineinherited |
Gets the source function.
◆ getFile()
const char* Ogre::Exception::getFile |
( |
| ) |
const |
|
inlineinherited |
◆ getLine()
long Ogre::Exception::getLine |
( |
| ) |
const |
|
inlineinherited |
◆ getDescription()
const String& Ogre::Exception::getDescription |
( |
void |
| ) |
const |
|
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.
◆ what()
const char* Ogre::Exception::what |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineinherited |
Override std::exception::what.
The documentation for this class was generated from the following file: