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

Member Function Documentation

◆ getHResult()

int Ogre::D3D11RenderingAPIException::getHResult ( ) const

◆ getFullDescription()

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

Returns a string with the full description of this error.

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: