OGRE  1.12.8
Object-Oriented Graphics Rendering Engine
Ogre::D3D11RenderingAPIException Class Reference

#include <OgreD3D11Prerequisites.h>

+ Inheritance diagram for Ogre::D3D11RenderingAPIException:

Public Member Functions

 D3D11RenderingAPIException (int hr, const String &inDescription, const String &inSource, const char *inFile, long inLine)
 
const StringgetFullDescription (void) const
 Returns a string with the full description of this error. More...
 
int getHResult () const
 
- Public Member Functions inherited from Ogre::RenderingAPIException
 RenderingAPIException (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. More...
 
 Exception (int number, const String &description, const String &source)
 Default constructor. More...
 
 Exception (int number, const String &description, const String &source, const char *type, const char *file, long line)
 Advanced constructor. More...
 
 ~Exception () throw ()
 Needed for compatibility with std::exception. More...
 
const StringgetDescription (void) const
 Returns a string with only the 'description' field of this exception. More...
 
const char * getFile () const
 Gets source file name. More...
 
long getLine () const
 Gets line number. More...
 
const StringgetSource () const
 Gets the source function. More...
 
const char * what () const throw ()
 Override std::exception::what. More...
 

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...
 

Constructor & Destructor Documentation

◆ D3D11RenderingAPIException()

Ogre::D3D11RenderingAPIException::D3D11RenderingAPIException ( int  hr,
const String inDescription,
const String inSource,
const char *  inFile,
long  inLine 
)
inline

Member Function Documentation

◆ getHResult()

int Ogre::D3D11RenderingAPIException::getHResult ( ) const
inline

◆ getFullDescription()

const String& Ogre::D3D11RenderingAPIException::getFullDescription ( void  ) const
inlinevirtual

Returns a string with the full description of this error.

Remarks
The description contains the error number, the description supplied by the thrower, what routine threw the exception, and will also supply extra platform-specific information where applicable. For example - in the case of a rendering library error, the description of the error will include both the place in which OGRE found the problem, and a text description from the 3D rendering library, if available.

Reimplemented from Ogre::Exception.

References Ogre::Exception::getFullDescription().


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