#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_FILE_NOT_FOUND, ERR_INTERNAL_ERROR, ERR_RT_ASSERTION_FAILED, ERR_NOT_IMPLEMENTED } |
Static definitions of error codes. More... | |
Public Member Functions | |
InternalErrorException (int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine) | |
virtual const String & | getDescription (void) const |
Returns a string with only the 'description' field of this exception. More... | |
virtual const String & | getFile () const |
Gets source file name. More... | |
virtual const String & | getFullDescription (void) const |
Returns a string with the full description of this error. More... | |
virtual long | getLine () const |
Gets line number. More... | |
virtual int | getNumber (void) const throw () |
Gets the error code. More... | |
virtual const String & | getSource () const |
Gets the source function. More... | |
const char * | what () const throw () |
Override std::exception::what. More... | |
Protected Attributes | |
String | description |
String | file |
String | fullDesc |
long | line |
int | number |
String | source |
String | typeName |
Definition at line 223 of file OgreException.h.
Ogre::InternalErrorException::InternalErrorException | ( | int | inNumber, |
const String & | inDescription, | ||
const String & | inSource, | ||
const char * | inFile, | ||
long | inLine | ||
) |
Definition at line 226 of file OgreException.h.
|
virtualinherited |
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.
Definition at line 164 of file OgreException.h.
|
virtualinherited |
Gets source file name.
Definition at line 154 of file OgreException.h.
|
virtualinherited |
Returns a string with the full description of this error.
|
virtualinherited |
Gets line number.
Definition at line 158 of file OgreException.h.
|
virtualinherited |
Gets the error code.
|
virtualinherited |
Gets the source function.
Definition at line 150 of file OgreException.h.
|
inherited |
Override std::exception::what.
Definition at line 167 of file OgreException.h.
|
protectedinherited |
Definition at line 90 of file OgreException.h.
|
protectedinherited |
Definition at line 92 of file OgreException.h.
|
mutableprotectedinherited |
Definition at line 93 of file OgreException.h.
|
protectedinherited |
Definition at line 87 of file OgreException.h.
|
protectedinherited |
Definition at line 88 of file OgreException.h.
|
protectedinherited |
Definition at line 91 of file OgreException.h.
|
protectedinherited |
Definition at line 89 of file OgreException.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sat Oct 25 2014 14:52:08