API Documentation
Loading...
Searching...
No Matches
GraphicsException Class Reference

#include <GraphicsException.h>

Inheritance diagram for GraphicsException:
[legend]
Collaboration diagram for GraphicsException:
[legend]

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 TranslatedStringgetTitle () const
 
virtual const TranslatedStringgetCategory () const
 
virtual const StringstackTrace () const
 
virtual uint04 getPriority () const
 
const Stringthread () 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
 

Member Enumeration Documentation

◆ GraphicsExceptionType

Enumerator
e_general 
e_device_lost 

Constructor & Destructor Documentation

◆ GraphicsException() [1/2]

GraphicsException ( const TranslatedString & error)
inlineexplicit

◆ GraphicsException() [2/2]

GraphicsException ( const TranslatedString & error,
const TranslatedString & category )
inline

Member Function Documentation

◆ setMessage()

void setMessage ( const TranslatedString & message)
inlinefinaloverridevirtual

Reimplemented from Exception.

◆ setType()

void setType ( GraphicsExceptionType type)
inline

◆ type()

GraphicsExceptionType type ( ) const
inline

Member Data Documentation

◆ m_type


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