OpenV2G
ErrorCodes.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007-2018 Siemens AG
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Lesser General Public License as published
6  * by the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 /*******************************************************************
19  *
20  * @author Daniel.Peintner.EXT@siemens.com
21  * @version 2017-03-02
22  * @contact Richard.Kuntschke@siemens.com
23  *
24  * <p>Code generated by EXIdizer</p>
25  * <p>Schema: V2G_CI_MsgDef.xsd</p>
26  *
27  *
28  ********************************************************************/
29 
30 
31 
38 #ifndef EXI_ERROR_CODES_H
39 #define EXI_ERROR_CODES_H
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif
44 
45 #define EXI_ERROR_INPUT_STREAM_EOF -10
46 #define EXI_ERROR_OUTPUT_STREAM_EOF -11
47 #define EXI_ERROR_INPUT_FILE_HANDLE -12
48 #define EXI_ERROR_OUTPUT_FILE -13
49 
50 #define EXI_ERROR_OUT_OF_BOUNDS -100
51 #define EXI_ERROR_OUT_OF_STRING_BUFFER -101
52 /*#define EXI_ERROR_OUT_OF_ASCII_BUFFER -102 */
53 #define EXI_ERROR_OUT_OF_BYTE_BUFFER -103
54 #define EXI_ERROR_OUT_OF_GRAMMAR_STACK -104
55 #define EXI_ERROR_OUT_OF_RUNTIME_GRAMMAR_STACK -105
56 #define EXI_ERROR_OUT_OF_QNAMES -106
57 
58 #define EXI_ERROR_UNKOWN_GRAMMAR_ID -108
59 #define EXI_ERROR_UNKOWN_EVENT -109
60 #define EXI_ERROR_UNKOWN_EVENT_CODE -110
61 #define EXI_ERROR_UNEXPECTED_EVENT_LEVEL1 -111
62 #define EXI_ERROR_UNEXPECTED_EVENT_LEVEL2 -112
63 
64 #define EXI_ERROR_UNEXPECTED_START_DOCUMENT -113
65 #define EXI_ERROR_UNEXPECTED_END_DOCUMENT -114
66 #define EXI_ERROR_UNEXPECTED_START_ELEMENT -115
67 #define EXI_ERROR_UNEXPECTED_START_ELEMENT_NS -116
68 #define EXI_ERROR_UNEXPECTED_START_ELEMENT_GENERIC -117
69 #define EXI_ERROR_UNEXPECTED_START_ELEMENT_GENERIC_UNDECLARED -118
70 #define EXI_ERROR_UNEXPECTED_END_ELEMENT -119
71 #define EXI_ERROR_UNEXPECTED_CHARACTERS -120
72 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE -121
73 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_NS -122
74 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_GENERIC -123
75 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_GENERIC_UNDECLARED -124
76 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_XSI_TYPE -125
77 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_XSI_NIL -126
78 #define EXI_ERROR_UNEXPECTED_GRAMMAR_ID -127
79 #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_MOVE_TO_CONTENT_RULE -128
80 
81 #define EXI_UNSUPPORTED_NBIT_INTEGER_LENGTH -132
82 #define EXI_UNSUPPORTED_EVENT_CODE_CHARACTERISTICS -133
83 #define EXI_UNSUPPORTED_INTEGER_VALUE -134
84 #define EXI_NEGATIVE_UNSIGNED_INTEGER_VALUE -135
85 #define EXI_UNSUPPORTED_LIST_VALUE_TYPE -136
86 #define EXI_UNSUPPORTED_HEADER_COOKIE -137
87 #define EXI_UNSUPPORTED_HEADER_OPTIONS -138
88 
89 #define EXI_UNSUPPORTED_GLOBAL_ATTRIBUTE_VALUE_TYPE -139
90 #define EXI_UNSUPPORTED_DATATYPE -140
91 #define EXI_UNSUPPORTED_STRING_VALUE_TYPE -141
92 #define EXI_UNSUPPORTED_INTEGER_VALUE_TYPE -142
93 #define EXI_UNSUPPORTED_DATETIME_TYPE -143
94 #define EXI_UNSUPPORTED_FRAGMENT_ELEMENT -144
95 
96 #define EXI_UNSUPPORTED_GRAMMAR_LEARNING_CH -150
97 
98 /* string values */
99 #define EXI_ERROR_STRINGVALUES_NOT_SUPPORTED -160
100 #define EXI_ERROR_STRINGVALUES_OUT_OF_ENTRIES -161
101 #define EXI_ERROR_STRINGVALUES_OUT_OF_MEMORY -162
102 #define EXI_ERROR_STRINGVALUES_OUT_OF_BOUND -163
103 #define EXI_ERROR_STRINGVALUES_CHARACTER -164
104 
105 #define EXI_ERROR_UNEXPECTED_BYTE_VALUE -200
106 
107 
108 #define EXI_ERROR_CONVERSION_NO_ASCII_CHARACTERS -300
109 #define EXI_ERROR_CONVERSION_TYPE_TO_STRING -301
110 
111 
112 #define EXI_DEVIANT_SUPPORT_NOT_DEPLOYED -500
113 
114 #ifdef __cplusplus
115 }
116 #endif
117 
118 
119 #endif /* EXI_ERROR_CODES_H */
120