AVBlocks for C++
2.1
Audio and Video Software Development Kit
|
Describes an error interface used for uniform error handling across all Primo Software libraries. More...
Public Member Functions | |
virtual const char_t * | block () const =0 |
The component that has generated the error. More... | |
virtual const ErrorInfo * | clone () const =0 |
Creates a copy of this object. More... | |
virtual int32_t | code () const =0 |
Error code. More... | |
virtual int32_t | facility () const =0 |
Error facility. More... | |
virtual const char_t * | hint () const =0 |
Diagnostic hint. More... | |
virtual const char_t * | message () const =0 |
Error message. More... | |
virtual void | setBlock (const char_t *block)=0 |
Sets or clears the error block. More... | |
virtual void | setCode (int32_t code)=0 |
Sets the error code. More... | |
virtual void | setFacility (int32_t facility)=0 |
Sets the error faiclity. More... | |
virtual void | setHint (const char_t *hint)=0 |
Sets or clears the error hint. More... | |
virtual void | setMessage (const char_t *message)=0 |
Sets or clears the error message. More... | |
Public Member Functions inherited from Reference | |
virtual int32_t | release () const =0 |
Releases the instance. More... | |
virtual int32_t | retain () const =0 |
Retains the instance. More... | |
virtual int32_t | retainCount () const =0 |
Returns the current reference count. More... | |
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. |