PrimoBurner(tm) for C++  4.6
CD, DVD and Blu-ray Software Development Kit
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
ErrorInfo Class Referenceabstract

Describes a PrimoBurner error. More...

#include <PrimoBurnerAPI.h>

Inherits Reference.

Public Member Functions

virtual const ErrorInfoclone () const =0
 Creates a copy of this object. More...
 
virtual int32_t code () const =0
 Gets the error code. More...
 
virtual ErrorFacility::Enum facility () const =0
 Gets the error facility. More...
 
virtual const char_t * message () const =0
 Gets 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...
 

Detailed Description

Describes a PrimoBurner error.

Member Function Documentation

virtual const ErrorInfo* clone ( ) const
pure virtual

Creates a copy of this object.

Returns
A new ErrorInfo object. The caller is responsible for releasing the new object when it is not needed anymore.
See Also
primo::Reference::release
Object Management
virtual int32_t code ( ) const
pure virtual

Gets the error code.

It must be interpreted in terms of the error facility .

Returns
The raw error code.
virtual ErrorFacility::Enum facility ( ) const
pure virtual

Gets the error facility.

This is the PrimoBurner subsystem that has generated the error.

Returns
A facility value from the ErrorFacility enum.
virtual const char_t* message ( ) const
pure virtual

Gets the error message.

This is a human-readable description of the error.

Returns
A null-terminated string of the message.