A common exeption thrown when an issue occurs within the NDEVR Graphics Engine.
More...
A common exeption thrown when an issue occurs within the NDEVR Graphics Engine.
Definition at line 45 of file GraphicsException.h.
◆ GraphicsExceptionType
Categories of graphics exceptions.
| Enumerator |
|---|
| e_general | General graphics error.
|
| e_device_lost | The graphics device was lost and must be reinitialized.
|
Definition at line 49 of file GraphicsException.h.
◆ GraphicsException() [1/2]
Constructs a graphics exception with an error message.
- Parameters
-
| [in] | error | The error description. |
◆ GraphicsException() [2/2]
Constructs a graphics exception with an error message and category.
- Parameters
-
| [in] | error | The error description. |
| [in] | category | The error category. |
◆ setMessage()
Sets the exception message.
- Parameters
-
| [in] | message | The message text. |
Reimplemented from Exception.
◆ setType()
Sets the exception type.
- Parameters
-
| [in] | type | The exception type. |
References type().
◆ type()
Returns the exception type.
- Returns
- The exception type.
Referenced by setType().
The documentation for this class was generated from the following file: