API Documentation
|
#include <GraphicsException.h>
Public Types | |
enum | GraphicsExceptionType { e_general , e_device_lost } |
Public Member Functions | |
GraphicsException (const TranslatedString &error) | |
GraphicsException (const TranslatedString &error, const TranslatedString &category) | |
void | setType (GraphicsExceptionType type) |
GraphicsExceptionType | type () const |
void | setMessage (const TranslatedString &message) final override |
Public Member Functions inherited from Exception | |
virtual | ~Exception ()=default |
NDEVR_BASE_API | Exception (const String &title, const bool &capture_stack=true) |
NDEVR_BASE_API | Exception (const TranslatedString &title, const bool &capture_stack=true) |
NDEVR_BASE_API | Exception (const std::exception &exception) |
NDEVR_BASE_API | Exception (const TranslatedString &title, const TranslatedString &message, const bool &capture_stack=true) |
void | setTitle (const TranslatedString &title) |
void | setCategory (const TranslatedString &category) |
void | setThread (const String &thread) |
virtual TranslatedString | getMessage () const |
virtual const TranslatedString & | getTitle () const |
virtual const TranslatedString & | getCategory () const |
virtual const String & | stackTrace () const |
virtual uint04 | getPriority () const |
const String & | thread () const |
NDEVR_BASE_API UUID | id () const |
void | printToLogger () |
Public Attributes | |
GraphicsExceptionType | m_type |
Additional Inherited Members | |
Protected Attributes inherited from Exception | |
TranslatedString | m_message |
TranslatedString | m_title |
TranslatedString | m_category |
String | m_thread |
String | m_stack_trace |
uint04 | m_priority |
|
inlineexplicit |
|
inline |
|
inlinefinaloverridevirtual |
Reimplemented from Exception.
|
inline |
|
inline |
GraphicsExceptionType m_type |