34#include <NDEVR/Exception.h>
35#include <NDEVR/Translator.h>
36#include <NDEVR/ApplicationResource.h>
DeviceLostException(const TranslatedString &error)
Constructs a device-lost exception.
DeviceLostException(const TranslatedString &error, const TranslatedString &category)
Constructs a device-lost exception with a category.
GraphicsBufferException(const TranslatedString &error, const GraphicsBuffer &buffer)
Constructs a buffer exception.
A Special abstract TableColumn responsible for interfacing a Buffer of data with the video card.
GraphicsExceptionType
Categories of graphics exceptions.
@ e_general
General graphics error.
@ e_device_lost
The graphics device was lost and must be reinitialized.
GraphicsExceptionType m_type
The type of this graphics exception.
GraphicsException(const TranslatedString &error)
Constructs a graphics exception with an error message.
void setType(GraphicsExceptionType type)
Sets the exception type.
GraphicsException(const TranslatedString &error, const TranslatedString &category)
Constructs a graphics exception with an error message and category.
GraphicsExceptionType type() const
Returns the exception type.
void setMessage(const TranslatedString &message) final override
Sets the exception message.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
@ category
The category this object belongs to.