|
AVBlocks for C++
3.1
Audio and Video Software Development Kit
|
Describes an error interface used for uniform error handling across all Primo Software libraries. More...
#include <error.h>
Public Member Functions | |
| virtual const char_t * | block () const =0 |
| The component that has generated the error. | |
| virtual const ErrorInfo * | clone () const =0 |
| Creates a copy of this object. | |
| virtual int32_t | code () const =0 |
| Error code. | |
| virtual int32_t | facility () const =0 |
| Error facility. | |
| virtual const char_t * | hint () const =0 |
| Diagnostic hint. | |
| virtual const char_t * | message () const =0 |
| Error message. | |
| virtual void | setBlock (const char_t *block)=0 |
| Sets or clears the error block. | |
| virtual void | setCode (int32_t code)=0 |
| Sets the error code. | |
| virtual void | setFacility (int32_t facility)=0 |
| Sets the error faiclity. | |
| virtual void | setHint (const char_t *hint)=0 |
| Sets or clears the error hint. | |
| virtual void | setMessage (const char_t *message)=0 |
| Sets or clears the error message. | |
Public Member Functions inherited from Reference | |
| virtual int32_t | release () const =0 |
| Releases the instance. | |
| virtual int32_t | retain () const =0 |
| Retains the instance. | |
| virtual int32_t | retainCount () const =0 |
| Returns the current reference count. | |
Describes an error interface used for uniform error handling across all Primo Software libraries.
|
pure virtual |
The component that has generated the error.
|
pure virtual |
Creates a copy of this object.
|
pure virtual |
Error code.
Its meaning depends on the error facility .
|
pure virtual |
|
pure virtual |
Diagnostic hint.
This is an implementation specific diagnostics message, suitable for error logs or debugging.
|
pure virtual |
Error message.
This is a textual representation of the error code.
|
pure virtual |
Sets or clears the error block.
It is the component that has generated the error.
| block | A pointer to zero terminated Unicode string. Can be NULL in which case the error block is cleared. |
|
pure virtual |
|
pure virtual |
Sets the error faiclity.
This is the component that reports the error.
| facility | An Error facility constant |
|
pure virtual |
Sets or clears the error hint.
It is an implementation specific diagnostics message, suitable for error logs or debugging.
| hint | A pointer to zero terminated Unicode string. Can be NULL in which case the error hint is cleared. |
|
pure virtual |
Sets or clears the error message.
It is a textual representation of the error code.
| message | A pointer to zero terminated Unicode string. Can be NULL in which case the error message is cleared. |