#include <OgreException.h>
Inheritance diagram for Ogre::InvalidParametersException:
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 | |
InvalidParametersException (int number, const String &description, const String &source, const char *file, long line) | |
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 |
|
Static definitions of error codes.
Definition at line 102 of file OgreException.h. |
|
Definition at line 216 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 166 of file OgreException.h. |
|
Gets source file name.
Definition at line 156 of file OgreException.h. |
|
Returns a string with the full description of this error.
|
|
Gets line number.
Definition at line 160 of file OgreException.h. |
|
Gets the error code.
|
|
Gets the source function.
Definition at line 152 of file OgreException.h. |
|
Override std::exception::what.
Definition at line 169 of file OgreException.h. |
|
Definition at line 92 of file OgreException.h. |
|
Definition at line 94 of file OgreException.h. |
|
Definition at line 95 of file OgreException.h. |
|
Definition at line 89 of file OgreException.h. |
|
Definition at line 90 of file OgreException.h. |
|
Definition at line 93 of file OgreException.h. |
|
Definition at line 91 of file OgreException.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:47:46 2009