Frontend::Exception Class Reference
Exception class used for reporting all Frontend-related errors. More...
#include <Exception.h>
Inheritance diagram for Frontend::Exception:

Public Types | |
| enum | ErrorCode { Unknown, BackendNotCapable, DeviceNotCapable, InvalidOperation, InvalidEnum, ShaderCompileFailed, Other } |
| Enumerates the Frontend standard error codes. More... | |
Public Member Functions | |
| virtual ErrorCode | GetErrorCode () |
| Returns the error code of the exception. | |
| virtual String | GetMessage () |
| Returns a detailed error string describing the exception. | |
| Exception (String message, ErrorCode code) | |
| Creates a new exception. | |
| Exception (String message) | |
| Creates a new exception. | |
| void | AddRef () |
| Adds a reference to the object. | |
| void | Release () |
| Releases a reference on the object. | |
| unsigned int | GetRefCount () |
| Returns the number of references on the object. | |
Protected Attributes | |
| ErrorCode | errorCode |
| String | message |
Detailed Description
Exception class used for reporting all Frontend-related errors.
Member Enumeration Documentation
|
|
Enumerates the Frontend standard error codes.
|
Constructor & Destructor Documentation
|
||||||||||||
|
Creates a new exception.
|
|
|
Creates a new exception.
|
Member Function Documentation
|
|
Adds a reference to the object. Aqcuires an additional ownership on the object. The object will not be deleted until all owners have called Release() on it.
|
|
|
Returns the error code of the exception.
|
|
|
Returns a detailed error string describing the exception.
|
|
|
Returns the number of references on the object.
|
|
|
Releases a reference on the object. If you are an owner of an object, use this function to release it when you are done with it. The object will not be deleted until all owners have called Release() on it. |
Member Data Documentation
|
|
|
|
|
|
The documentation for this class was generated from the following file: