ErrorCodes.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. * @author Daniel.Peintner.EXT@siemens.com
  20. * @version 2017-03-02
  21. * @contact Richard.Kuntschke@siemens.com
  22. *
  23. * <p>Code generated by EXIdizer</p>
  24. * <p>Schema: V2G_CI_MsgDef.xsd</p>
  25. *
  26. *
  27. ********************************************************************/
  28. /**
  29. * \file ErrorCodes.h
  30. * \brief Error Codes descriptions
  31. *
  32. */
  33. #ifndef EXI_ERROR_CODES_H
  34. #define EXI_ERROR_CODES_H
  35. #ifdef __cplusplus
  36. extern "C" {
  37. #endif
  38. #define EXI_ERROR_INPUT_STREAM_EOF -10
  39. #define EXI_ERROR_OUTPUT_STREAM_EOF -11
  40. #define EXI_ERROR_INPUT_FILE_HANDLE -12
  41. #define EXI_ERROR_OUTPUT_FILE -13
  42. #define EXI_ERROR_OUT_OF_BOUNDS -100
  43. #define EXI_ERROR_OUT_OF_STRING_BUFFER -101
  44. /*#define EXI_ERROR_OUT_OF_ASCII_BUFFER -102 */
  45. #define EXI_ERROR_OUT_OF_BYTE_BUFFER -103
  46. #define EXI_ERROR_OUT_OF_GRAMMAR_STACK -104
  47. #define EXI_ERROR_OUT_OF_RUNTIME_GRAMMAR_STACK -105
  48. #define EXI_ERROR_OUT_OF_QNAMES -106
  49. #define EXI_ERROR_UNKOWN_GRAMMAR_ID -108
  50. #define EXI_ERROR_UNKOWN_EVENT -109
  51. #define EXI_ERROR_UNKOWN_EVENT_CODE -110
  52. #define EXI_ERROR_UNEXPECTED_EVENT_LEVEL1 -111
  53. #define EXI_ERROR_UNEXPECTED_EVENT_LEVEL2 -112
  54. #define EXI_ERROR_UNEXPECTED_START_DOCUMENT -113
  55. #define EXI_ERROR_UNEXPECTED_END_DOCUMENT -114
  56. #define EXI_ERROR_UNEXPECTED_START_ELEMENT -115
  57. #define EXI_ERROR_UNEXPECTED_START_ELEMENT_NS -116
  58. #define EXI_ERROR_UNEXPECTED_START_ELEMENT_GENERIC -117
  59. #define EXI_ERROR_UNEXPECTED_START_ELEMENT_GENERIC_UNDECLARED -118
  60. #define EXI_ERROR_UNEXPECTED_END_ELEMENT -119
  61. #define EXI_ERROR_UNEXPECTED_CHARACTERS -120
  62. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE -121
  63. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_NS -122
  64. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_GENERIC -123
  65. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_GENERIC_UNDECLARED -124
  66. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_XSI_TYPE -125
  67. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_XSI_NIL -126
  68. #define EXI_ERROR_UNEXPECTED_GRAMMAR_ID -127
  69. #define EXI_ERROR_UNEXPECTED_ATTRIBUTE_MOVE_TO_CONTENT_RULE -128
  70. #define EXI_UNSUPPORTED_NBIT_INTEGER_LENGTH -132
  71. #define EXI_UNSUPPORTED_EVENT_CODE_CHARACTERISTICS -133
  72. #define EXI_UNSUPPORTED_INTEGER_VALUE -134
  73. #define EXI_NEGATIVE_UNSIGNED_INTEGER_VALUE -135
  74. #define EXI_UNSUPPORTED_LIST_VALUE_TYPE -136
  75. #define EXI_UNSUPPORTED_HEADER_COOKIE -137
  76. #define EXI_UNSUPPORTED_HEADER_OPTIONS -138
  77. #define EXI_UNSUPPORTED_GLOBAL_ATTRIBUTE_VALUE_TYPE -139
  78. #define EXI_UNSUPPORTED_DATATYPE -140
  79. #define EXI_UNSUPPORTED_STRING_VALUE_TYPE -141
  80. #define EXI_UNSUPPORTED_INTEGER_VALUE_TYPE -142
  81. #define EXI_UNSUPPORTED_DATETIME_TYPE -143
  82. #define EXI_UNSUPPORTED_FRAGMENT_ELEMENT -144
  83. #define EXI_UNSUPPORTED_GRAMMAR_LEARNING_CH -150
  84. /* string values */
  85. #define EXI_ERROR_STRINGVALUES_NOT_SUPPORTED -160
  86. #define EXI_ERROR_STRINGVALUES_OUT_OF_ENTRIES -161
  87. #define EXI_ERROR_STRINGVALUES_OUT_OF_MEMORY -162
  88. #define EXI_ERROR_STRINGVALUES_OUT_OF_BOUND -163
  89. #define EXI_ERROR_STRINGVALUES_CHARACTER -164
  90. #define EXI_ERROR_UNEXPECTED_BYTE_VALUE -200
  91. #define EXI_ERROR_CONVERSION_NO_ASCII_CHARACTERS -300
  92. #define EXI_ERROR_CONVERSION_TYPE_TO_STRING -301
  93. #define EXI_DEVIANT_SUPPORT_NOT_DEPLOYED -500
  94. #ifdef __cplusplus
  95. }
  96. #endif
  97. #endif /* EXI_ERROR_CODES_H */