#include <OgreException.h>
|
| | FileNotFoundException (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.
|
| |
| virtual const String & | getFile () const |
| | Gets source file name.
|
| |
| virtual const String & | getFullDescription (void) const |
| | Returns a string with the full description of this error.
|
| |
| virtual long | getLine () const |
| | Gets line number.
|
| |
| virtual int | getNumber (void) const throw () |
| | Gets the error code.
|
| |
| virtual const String & | getSource () const |
| | Gets the source function.
|
| |
| const char * | what () const throw () |
| | Override std::exception::what.
|
| |
Definition at line 181 of file OgreException.h.
◆ 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 | |
Definition at line 100 of file OgreException.h.
◆ FileNotFoundException()
| Ogre::FileNotFoundException::FileNotFoundException |
( |
int | inNumber, |
|
|
const String & | inDescription, |
|
|
const String & | inSource, |
|
|
const char * | inFile, |
|
|
long | inLine ) |
◆ getDescription()
| virtual const String & Ogre::Exception::getDescription |
( |
void | | ) |
const |
|
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.
References description.
◆ getFile()
| virtual const String & Ogre::Exception::getFile |
( |
| ) |
const |
|
virtualinherited |
◆ getFullDescription()
| virtual const String & Ogre::Exception::getFullDescription |
( |
void | | ) |
const |
|
virtualinherited |
Returns a string with the full description of this error.
Referenced by what().
◆ getLine()
| virtual long Ogre::Exception::getLine |
( |
| ) |
const |
|
virtualinherited |
◆ getNumber()
| virtual int Ogre::Exception::getNumber |
( |
void | | ) |
const |
| throw | ( | ) | | | |
|
virtualinherited |
◆ getSource()
| virtual const String & Ogre::Exception::getSource |
( |
| ) |
const |
|
virtualinherited |
◆ what()
| const char * Ogre::Exception::what |
( |
| ) |
const |
| throw | ( | ) | | | |
|
inherited |
◆ description
| String Ogre::Exception::description |
|
protectedinherited |
◆ file
◆ fullDesc
| String Ogre::Exception::fullDesc |
|
mutableprotectedinherited |
◆ line
| long Ogre::Exception::line |
|
protectedinherited |
◆ number
| int Ogre::Exception::number |
|
protectedinherited |
◆ source
| String Ogre::Exception::source |
|
protectedinherited |
◆ typeName
| String Ogre::Exception::typeName |
|
protectedinherited |
The documentation for this class was generated from the following file: