#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 | |
| RenderingAPIException (int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine) | |
| virtual const String & | getFullDescription (void) const |
| Returns a string with the full description of this error. | |
| virtual int | getNumber (void) const throw () |
| Gets the error code. | |
| virtual const String & | getSource () const |
| Gets the source function. | |
| virtual const String & | getFile () const |
| Gets source file name. | |
| virtual long | getLine () const |
| Gets line number. | |
| virtual const String & | getDescription (void) const |
| Returns a string with only the 'description' field of this exception. | |
| const char * | what () const throw () |
| Override std::exception::what. | |
Protected Attributes | |
| long | line |
| int | number |
| String | typeName |
| String | description |
| String | source |
| String | file |
| String | fullDesc |
Definition at line 237 of file OgreException.h.
enum Ogre::Exception::ExceptionCodes [inherited] |
Static definitions of error codes.
Definition at line 108 of file OgreException.h.
| Ogre::RenderingAPIException::RenderingAPIException | ( | int | inNumber, |
| const String & | inDescription, | ||
| const String & | inSource, | ||
| const char * | inFile, | ||
| long | inLine | ||
| ) |
Definition at line 240 of file OgreException.h.
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 172 of file OgreException.h.
Gets source file name.
Definition at line 162 of file OgreException.h.
Returns a string with the full description of this error.
| virtual long Ogre::Exception::getLine | ( | ) | const [virtual, inherited] |
Gets line number.
Definition at line 166 of file OgreException.h.
| virtual int Ogre::Exception::getNumber | ( | void | ) | const throw () [virtual, inherited] |
Gets the error code.
Gets the source function.
Definition at line 158 of file OgreException.h.
| const char* Ogre::Exception::what | ( | ) | const throw () [inherited] |
Override std::exception::what.
Definition at line 175 of file OgreException.h.
String Ogre::Exception::description [protected, inherited] |
Definition at line 98 of file OgreException.h.
String Ogre::Exception::file [protected, inherited] |
Definition at line 100 of file OgreException.h.
String Ogre::Exception::fullDesc [mutable, protected, inherited] |
Definition at line 101 of file OgreException.h.
long Ogre::Exception::line [protected, inherited] |
Definition at line 95 of file OgreException.h.
int Ogre::Exception::number [protected, inherited] |
Definition at line 96 of file OgreException.h.
String Ogre::Exception::source [protected, inherited] |
Definition at line 99 of file OgreException.h.
String Ogre::Exception::typeName [protected, inherited] |
Definition at line 97 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 Wed Mar 7 2012 19:26:58