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. | |
XMP_Int32 | GetID () const |
Retrieves the numeric code from an XMP_Error. | |
XMP_StringPtr | GetErrMsg () const |
Retrieves the descriptive string from an XMP_Error. | |
Private Attributes | |
XMP_Int32 | id |
Exception code. See constants kXMPErr_Unknown and following. | |
XMP_StringPtr | errMsg |
XMP Toolkit error, associates an error code with a descriptive error string.
XMP_Error::XMP_Error | ( | XMP_Int32 | _id, | |
XMP_StringPtr | _errMsg | |||
) | [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. |
XMP_StringPtr XMP_Error::errMsg [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.