![]() |
XMP Toolkit SDK
6.0.0
|
XMP Toolkit error, associates an error code with a descriptive error string. More...
#include <XMP_Const.h>
Public Member Functions | |
XMP_Error (XMP_Int32 _id, XMP_StringPtr _errMsg) | |
Constructor for an XMP_Error. More... | |
XMP_Int32 | GetID () const |
Retrieves the numeric code from an XMP_Error. More... | |
XMP_StringPtr | GetErrMsg () const |
Retrieves the descriptive string from an XMP_Error. More... | |
XMP_Bool | IsNotified () const |
Retrieves the information whether particular error is notified or not. More... | |
void | SetNotified () |
Sets the notification status for an error. More... | |
Private Attributes | |
XMP_Int32 | id |
Exception code. See constants kXMPErr_Unknown and following. More... | |
XMP_StringPtr | errMsg |
XMP_Bool | notified |
Variable to store whether this particular error is notified to user or not. More... | |
XMP Toolkit error, associates an error code with a descriptive error string.
Definition at line 1330 of file XMP_Const.h.
|
inline |
Constructor for an XMP_Error.
_id | The numeric code. |
_errMsg | The descriptive string, for debugging use only. It must not be shown to users in a final product. It is written for developers, not users, and never localized. |
Definition at line 1339 of file XMP_Const.h.
|
inline |
Retrieves the descriptive string from an XMP_Error.
Definition at line 1345 of file XMP_Const.h.
References errMsg.
|
inline |
Retrieves the numeric code from an XMP_Error.
Definition at line 1342 of file XMP_Const.h.
References id.
|
inline |
Retrieves the information whether particular error is notified or not.
Definition at line 1348 of file XMP_Const.h.
References notified.
|
inline |
Sets the notification status for an error.
Definition at line 1351 of file XMP_Const.h.
References notified.
|
private |
Descriptive string, for debugging use only. It must not be shown to users in a final product. It is written for developers, not users, and never localized.
Definition at line 1358 of file XMP_Const.h.
Referenced by GetErrMsg().
|
private |
Exception code. See constants kXMPErr_Unknown
and following.
Definition at line 1351 of file XMP_Const.h.
Referenced by GetID().
|
private |
Variable to store whether this particular error is notified to user or not.
Definition at line 1360 of file XMP_Const.h.
Referenced by IsNotified(), and SetNotified().