![]() |
API Documentation
|
A specific type of Exception that occurs when a GraphicsDevice is lost. This typically requires a complete re-initialization of the NDEVR Graphics Engine. More...
#include <GraphicsException.h>
Public Member Functions | |
| DeviceLostException (const TranslatedString &error) | |
| DeviceLostException (const TranslatedString &error, const TranslatedString &category) | |
Public Member Functions inherited from GraphicsException | |
| GraphicsException (const TranslatedString &error) | |
| GraphicsException (const TranslatedString &error, const TranslatedString &category) | |
| void | setMessage (const TranslatedString &message) final override |
| void | setType (GraphicsExceptionType type) |
| GraphicsExceptionType | type () const |
Public Member Functions inherited from Exception | |
| Exception (const std::exception &exception) | |
| Exception (const String &title, const bool &capture_stack=true) | |
| Exception (const TranslatedString &title, const bool &capture_stack=true) | |
| Exception (const TranslatedString &title, const TranslatedString &message, const bool &capture_stack=true) | |
| virtual const TranslatedString & | getCategory () const |
| virtual TranslatedString | getMessage () const |
| virtual uint04 | getPriority () const |
| virtual const TranslatedString & | getTitle () const |
| UUID | id () const |
| void | printToLogger () |
| void | setCategory (const TranslatedString &category) |
| void | setThread (const String &thread) |
| void | setTitle (const TranslatedString &title) |
| virtual const String & | stackTrace () const |
| const String & | thread () const |
| virtual | ~Exception ()=default |
Additional Inherited Members | |
Public Types inherited from GraphicsException | |
| enum | GraphicsExceptionType { e_general , e_device_lost } |
Protected Attributes inherited from GraphicsException | |
| GraphicsExceptionType | m_type |
Protected Attributes inherited from Exception | |
| TranslatedString | m_category |
| TranslatedString | m_message |
| uint04 | m_priority |
| String | m_stack_trace |
| String | m_thread |
| TranslatedString | m_title |
A specific type of Exception that occurs when a GraphicsDevice is lost. This typically requires a complete re-initialization of the NDEVR Graphics Engine.
|
explicit |
| DeviceLostException | ( | const TranslatedString & | error, |
| const TranslatedString & | category ) |