OGRE 14.3
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::UnimplementedException Class Reference

Template struct which creates a distinct type for each exception code. More...

#include <OgreException.h>

+ Inheritance diagram for Ogre::UnimplementedException:

Public Member Functions

 UnimplementedException (int inNumber, const String &inDescription, const String &inSource, const char *inFile, long inLine)
 
- Public Member Functions inherited from Ogre::Exception
 Exception (const Exception &rhs)
 Copy constructor.
 
 Exception (int number, const String &description, const String &source)
 Default constructor.
 
 Exception (int number, const String &description, const String &source, const char *type, const char *file, long line)
 Advanced constructor.
 
 ~Exception () throw ()
 Needed for compatibility with std::exception.
 
const StringgetDescription (void) const
 Returns a string with only the 'description' field of this exception.
 
const chargetFile () const
 Gets source file name.
 
const StringgetFullDescription (void) const
 Returns a string with the full description of this error.
 
long getLine () const
 Gets line number.
 
const StringgetSource () const
 Gets the source function.
 
const charwhat () const override throw ()
 

Additional Inherited Members

- Public Types inherited from Ogre::Exception
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...
 

Detailed Description

Template struct which creates a distinct type for each exception code.

Note
This is useful because it allows us to create an overloaded method for returning different exception types by value without ambiguity. From 'Modern C++ Design' (Alexandrescu 2001).

Constructor & Destructor Documentation

◆ UnimplementedException()

Ogre::UnimplementedException::UnimplementedException ( int  inNumber,
const String inDescription,
const String inSource,
const char inFile,
long  inLine 
)
inline

The documentation for this class was generated from the following file: