| XMP Toolkit SDK 6.0.0

XMPCommonErrorCodes.h
Go to the documentation of this file.
1 #ifndef XMPCommonErrorCodes_h__
2 #define XMPCommonErrorCodes_h__ 1
3
4 // =================================================================================================
5 // Copyright Adobe
6 // Copyright 2014 Adobe
7 // All Rights Reserved
8 //
9 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms
10 // of the Adobe license agreement accompanying it. If you have received this file from a source other
11 // than Adobe, then your use, modification, or distribution of it requires the prior written permission
12 // of Adobe.
13 // =================================================================================================
14
15 #include "XMPCommon/XMPCommonDefines.h"
16
17 namespace AdobeXMPCommon {
18
22 typedef enum {
24 kGECNone = 0,
25
27 kGECParametersNotAsExpected = 1,
28
30 kGECVersionUnavailable = 2,
31
33 kGECAssertionFailure = 3,
34
36 kGECLogicalError = 4,
37
39 kGECIndexOutOfBounds = 5,
40
42 kGECInternalFailure = 6,
43
45 kGECDeprecatedFunctionCall = 7,
46
48 kGECExternalFailure = 8,
49
51 kGECUnknownFailure = 9,
52
54 kGECUserAbort = 10,
55
57 kGECInterfaceUnavailable = 11,
58
60 kGECClientThrownExceptionCaught = 100,
61
63 kGECStandardException = 101,
64
66 kGECUnknownExceptionCaught = 200,
67
69 kGECNotImplemented = 10000,
70
72 kGECMaxValue = kMaxEnumValue
73 } eGeneralErrorCode;
74
78 typedef enum {
80 kMMECNone = 0,
81
83 kMMECAllocationFailure = 1,
84
86 kMMECMaxValue = kMaxEnumValue
87 } eMemoryManagementErrorCode;
88
92 typedef enum {
94 kCECNone = 0,
95
97 kCECKeyNotSupported = 1,
98
100 kCECValueTypeNotSupported = 2,
101
103 kCECPreviousTypeDifferent = 3,
104
106 kCECValueTypeMismatch = 4,
107
109 kCECValueNotSupported = 5,
110
112 kCECodeMaxValue = 0xFFFFFFFF
113 } eConfigurableErrorCode;
114 }
115
116 #endif // XMPCommonErrorCodes_h__
AdobeXMPCommon::kCECValueTypeMismatch
@ kCECValueTypeMismatch
Indicates the type of value stored for a key is different than what client is asking for.
Definition: XMPCommonErrorCodes.h:106
AdobeXMPCommon::kGECNone
@ kGECNone
Indicates no error.
Definition: XMPCommonErrorCodes.h:24
AdobeXMPCommon::eGeneralErrorCode
eGeneralErrorCode
Indicates various types of error codes within General Domain.
Definition: XMPCommonErrorCodes.h:22
AdobeXMPCommon::kCECodeMaxValue
@ kCECodeMaxValue
Maximum value this enum can hold, should be treated as invalid value.
Definition: XMPCommonErrorCodes.h:112
AdobeXMPCommon::kGECStandardException
@ kGECStandardException
Indicates that standard exception has occurred.
Definition: XMPCommonErrorCodes.h:63
AdobeXMPCommon::kGECUnknownExceptionCaught
@ kGECUnknownExceptionCaught
Indicates that some unknown exception has occurred.
Definition: XMPCommonErrorCodes.h:66
AdobeXMPCommon::kCECKeyNotSupported
@ kCECKeyNotSupported
Indicates that key is not supported by the object.
Definition: XMPCommonErrorCodes.h:97
AdobeXMPCommon::kGECExternalFailure
@ kGECExternalFailure
Indicates an external failure.
Definition: XMPCommonErrorCodes.h:48
AdobeXMPCommon::kGECLogicalError
@ kGECLogicalError
Indicates logic failure.
Definition: XMPCommonErrorCodes.h:36
AdobeXMPCommon::eMemoryManagementErrorCode
eMemoryManagementErrorCode
Indicates various types of error codes within Memory Management domain.
Definition: XMPCommonErrorCodes.h:78
AdobeXMPCommon::kGECMaxValue
@ kGECMaxValue
Maximum value this enum can hold, should be treated as invalid value.
Definition: XMPCommonErrorCodes.h:72
AdobeXMPCommon
Definition: IConfigurable.h:21
AdobeXMPCommon::kMaxEnumValue
static const uint32 kMaxEnumValue(Max_XMP_Uns32)
AdobeXMPCommon::kGECClientThrownExceptionCaught
@ kGECClientThrownExceptionCaught
Indicates that client code has thrown some exception.
Definition: XMPCommonErrorCodes.h:60
AdobeXMPCommon::kCECValueNotSupported
@ kCECValueNotSupported
Indicates an invalid value is provided.
Definition: XMPCommonErrorCodes.h:109
XMPCommonDefines.h
AdobeXMPCommon::kGECIndexOutOfBounds
@ kGECIndexOutOfBounds
Indicates index provided is out of bounds.
Definition: XMPCommonErrorCodes.h:39
AdobeXMPCommon::kGECInternalFailure
@ kGECInternalFailure
Indicates an internal failure.
Definition: XMPCommonErrorCodes.h:42
AdobeXMPCommon::kGECDeprecatedFunctionCall
@ kGECDeprecatedFunctionCall
Indicates a call to deprecated function.
Definition: XMPCommonErrorCodes.h:45
AdobeXMPCommon::kCECNone
@ kCECNone
Indicates no error.
Definition: XMPCommonErrorCodes.h:94
AdobeXMPCommon::kCECValueTypeNotSupported
@ kCECValueTypeNotSupported
Indicates different type of value provided than the one supported for a key.
Definition: XMPCommonErrorCodes.h:100
AdobeXMPCommon::kGECUserAbort
@ kGECUserAbort
Indicates an error due to User Abort.
Definition: XMPCommonErrorCodes.h:54
AdobeXMPCommon::eConfigurableErrorCode
eConfigurableErrorCode
Indicates various types of error codes within Configurable domain.
Definition: XMPCommonErrorCodes.h:92
AdobeXMPCommon::kGECUnknownFailure
@ kGECUnknownFailure
Indicates an unknown failure.
Definition: XMPCommonErrorCodes.h:51
AdobeXMPCommon::kMMECMaxValue
@ kMMECMaxValue
Maximum value this enum can hold, should be treated as invalid value.
Definition: XMPCommonErrorCodes.h:86
AdobeXMPCommon::kGECParametersNotAsExpected
@ kGECParametersNotAsExpected
Indicates that parameters passed to function are not as expected.
Definition: XMPCommonErrorCodes.h:27
AdobeXMPCommon::kMMECAllocationFailure
@ kMMECAllocationFailure
Indicates that allocation has failed.
Definition: XMPCommonErrorCodes.h:83
AdobeXMPCommon::kGECVersionUnavailable
@ kGECVersionUnavailable
Indicates that version expected by client is not available in the library.
Definition: XMPCommonErrorCodes.h:30
AdobeXMPCommon::kGECAssertionFailure
@ kGECAssertionFailure
Indicates that some assertion has failed.
Definition: XMPCommonErrorCodes.h:33
AdobeXMPCommon::kMMECNone
@ kMMECNone
Indicates no error.
Definition: XMPCommonErrorCodes.h:80
AdobeXMPCommon::kCECPreviousTypeDifferent
@ kCECPreviousTypeDifferent
Indicates that different value type is previously stored for a key.
Definition: XMPCommonErrorCodes.h:103
AdobeXMPCommon::kGECInterfaceUnavailable
@ kGECInterfaceUnavailable
Indicates a particular interface is not available.
Definition: XMPCommonErrorCodes.h:57
AdobeXMPCommon::kGECNotImplemented
@ kGECNotImplemented
Indicates that functionality is not yet implemented.
Definition: XMPCommonErrorCodes.h:69