|
|
 |
 |
|
Run-time error status codes.This is a list of status codes that can be returned by the XBinder run-time functions and generated code.
More...
Detailed Description
This is a list of status codes that can be returned by the XBinder run-time functions and generated code.
In many cases, additional information and parameters for the different errors are stored in the context structure at the time the error in raised. This additional information can be output using the rtxErrPrint or rtxErrLogUsingCB run-time functions.
Define Documentation
| #define RTERR_ATTRMISRQ -36 |
|
|
|
Missing required attribute.
This status code is returned by the decoder when an XML instance is missing a required attribute value as defined in the XML schema.
Definition at line 339 of file rtxErrCodes.h. |
| #define RTERR_BADVALUE -14 |
|
|
|
Bad value.
This status code is returned anywhere where an API is expecting a value is to be within a certain range and it not within this range. An example is the encoding or decoding date values when the month or day value is not within the legal range (1-12 for month and 1 to whatever the max days is for a given month).
Definition at line 167 of file rtxErrCodes.h. |
| #define RTERR_BUFOVFLW -1 |
|
|
|
Encode buffer overflow.
This status code is returned when encoding into a static buffer and there is no space left for the item currently being encoded.
Definition at line 59 of file rtxErrCodes.h. |
| #define RTERR_CONSVIO -16 |
|
|
|
Constraint violation.
This status code is returned when constraints defined using facets within the schema are violated. These include facets such as min/maxOccurs, min/maxLength, patterns, etc..
Definition at line 181 of file rtxErrCodes.h. |
| #define RTERR_DECATTRFAIL -45 |
|
|
|
Attribute decode failed.
This status code and parameters are added to the failure status by the decoder to allow the specific attribute on which a decode error was detected to be identified.
Definition at line 404 of file rtxErrCodes.h. |
| #define RTERR_DECELEMFAIL -44 |
|
|
|
Element decode failed.
This status code and parameters are added to the failure status by the decoder to allow the specific element on which a decode error was detected to be identified.
Definition at line 397 of file rtxErrCodes.h. |
| #define RTERR_ELEMSMISRQ -46 |
|
|
|
Missing required elements.
This status code is returned by the decoder when the number of elements decoded for a given content model group is less then the required number of elements as specified in the XML schema.
Definition at line 412 of file rtxErrCodes.h. |
| #define RTERR_ENDOFBUF -2 |
|
|
|
Unexpected end-of-buffer.
This status code is returned when decoding and the decoder expects more data to be available but instead runs into the end of the decode buffer.
Definition at line 66 of file rtxErrCodes.h. |
| #define RTERR_ENDOFFILE -17 |
|
|
|
Unexpected end-of-file error.
This status code when an unepexted end-of-file condition is detected on decode. It is similar to the ENDOFBUF error code described above except that in this case, decoding is being done from a file stream instead of from a memory buffer.
Definition at line 189 of file rtxErrCodes.h. |
| #define RTERR_EXPIRED -40 |
|
|
|
Evaluation license expired.
This error is returned from evaluation versions of the run-time library when the hard-code evaluation period is expired.
Definition at line 367 of file rtxErrCodes.h. |
|
|
General failure.
Low level call returned error.
Definition at line 417 of file rtxErrCodes.h. |
| #define RTERR_FILNOTFOU -28 |
|
|
|
File not found.
This status code is returned if an attempt is made to open a file input stream for decoding and the given file does not exist.
Definition at line 279 of file rtxErrCodes.h. |
| #define RTERR_HOSTNOTFOU -37 |
|
|
|
Host name could not be resolved.
This status code is returned from run-time socket functions when they are unable to connect to a given host computer.
Definition at line 346 of file rtxErrCodes.h. |
| #define RTERR_HTTPERR -38 |
|
|
|
HTTP protocol error.
This status code is returned by functions doing HTTP protocol operations such as SOAP functions. It is returned when a protocol error is detected. Details on the specific error can be obtained by calling rtxErrPrint.
Definition at line 354 of file rtxErrCodes.h. |
| #define RTERR_IDNOTFOU -3 |
|
|
|
Expected identifier not found.
This status is returned when the decoder is expecting a certain element to be present at the current position and instead something different is encountered. An example is decoding an XSD sequence in which the declared elements are expected to be in the given order. If an element is encountered that is not the one expected, this error is raised.
Definition at line 76 of file rtxErrCodes.h. |
| #define RTERR_INVATTR -33 |
|
|
|
Invalid attribute.
This status code is returned by the decoder when an attribute is encountered in an XML instance that was not defined in the XML schema.
Definition at line 314 of file rtxErrCodes.h. |
| #define RTERR_INVBASE64 -31 |
|
|
|
Invalid Base64 encoding.
This status code is returned when an error is detected in decoding base64 data.
Definition at line 299 of file rtxErrCodes.h. |
| #define RTERR_INVCHAR -24 |
|
|
|
Invalid character.
This status code is returned when a character is encountered that is not valid for a given data type. For example, if an integer value is being decoded and a non-numeric character is encountered, this error will be raised.
Definition at line 250 of file rtxErrCodes.h. |
|
|
Invalid enumerated identifier.
This status is returned when an enumerated value is being encoded or decoded and the given value is not in the set of values defined in the enumeration facet.
Definition at line 83 of file rtxErrCodes.h. |
| #define RTERR_INVFORMAT -21 |
|
|
|
Invalid value format.
This status code is returned when a value is received or passed into a function that is not in the expected format. For example, the time string parsing function expects a string in the form "nn:nn:nn" where n's are numbers. If not in this format, this error code is returned.
Definition at line 220 of file rtxErrCodes.h. |
| #define RTERR_INVHEXS -11 |
|
|
|
Invalid hexadecimal string.
This status code is returned when decoding a hexadecimal string value (xsd:hexBinary) and a character is encountered in the string that is not in the valid hexadecimal character set ([0-9A-Fa-f] or whitespace).
Definition at line 140 of file rtxErrCodes.h. |
| #define RTERR_INVMSGBUF -43 |
|
|
|
Invalid message buffer has been passed to decode or validate method.
This status code is returned by decode or validate method when the used message buffer instance has type different from OSMessageBufferIF::XMLDecode.
Definition at line 390 of file rtxErrCodes.h. |
| #define RTERR_INVOCCUR -42 |
|
|
|
Invalid number of occurrences.
This status code is returned by the decoder when an XML instance contains a number of occurrences of a repeating element that is outside the bounds (minOccurs/maxOccurs) defined for the element in the XML schema.
Definition at line 382 of file rtxErrCodes.h. |
|
|
Invalid option in choice.
This status code is returned when encoding or decoding an xsd:choice construct. When encoding, it occurs when a value in the generated 't' member variable is outside the range of indexes of items in the content model group. It occurs on the decode side when an element is received that is not defined in the xsd:choice content model group.
Definition at line 125 of file rtxErrCodes.h. |
| #define RTERR_INVPARAM -20 |
|
|
|
Invalid parameter passed to a function of method.
This status code is returned by a function or method when it does an initial check on the values of parameters passed in. If a parameter is found to not have a value in the expected range, this error code is returned.
Definition at line 211 of file rtxErrCodes.h. |
| #define RTERR_INVREAL -12 |
|
|
|
Invalid real number value.
This status code is returned when decoding a numeric floating-point value and an invalid character is received (i.e. not numeric, decimal point, plus or minus sign, or exponent character).
Definition at line 148 of file rtxErrCodes.h. |
| #define RTERR_INVSOCKET -32 |
|
|
|
Invalid socket.
This status code is returned when an attempt is made to read or write from a scoket and the given socket handle is invalid. This may be the result of not having established a proper connection before trying to use the socket handle variable.
Definition at line 307 of file rtxErrCodes.h. |
| #define RTERR_INVUTF8 -18 |
|
|
|
Invalid UTF-8 character encoding.
This status code is returned by the decoder then an invalid sequence of bytes is detected in a UTF-8 character string.
Definition at line 196 of file rtxErrCodes.h. |
|
|
No dynamic memory available.
This status code is returned when a dynamic memory allocation request is made and an insufficient amount of memory is available to satisfy the request.
Definition at line 132 of file rtxErrCodes.h. |
| #define RTERR_NOTINIT -22 |
|
|
|
Context not initialized.
This status code is returned when the run-time context structure (OSCTXT) is attempted to be used without having been initialized. This can occur if rtxInitContext is not invoked to initialize a context variable before use in any other API call. It can also occur is there is a license violation (for example, evaluation license expired).
Definition at line 230 of file rtxErrCodes.h. |
| #define RTERR_NOTINSET -7 |
|
|
|
Element not in set.
This status code is returned when encoding or decoding an xsd:all construct. When encoding, it occurs when a value in the generated _order member variable is outside the range of indexes of items in the content model group. It occurs on the decode side when an element is received that is not defined in the xsd:all content model group.
Definition at line 108 of file rtxErrCodes.h. |
| #define RTERR_NOTSUPP -99 |
|
|
|
Feature is not supported.
This status code is returned when a feature that is currently not supported in XBinder is encountered. Support may be added in a future release.
Definition at line 424 of file rtxErrCodes.h. |
| #define RTERR_OUTOFBND -19 |
|
|
|
Array index out-of-bounds.
This status code is returned when an attempt is made to add something to an array and the given index is outside the defined bounds of the array.
Definition at line 203 of file rtxErrCodes.h. |
| #define RTERR_PATMATCH -35 |
|
|
|
Pattern match error.
This status code is returned by the decoder when a value in an XML instance does not match the pattern facet defined in the XML schema. It can also be returned by numeric encode functions that cannot format a numeric value to match the pattern specified for that value.
Definition at line 332 of file rtxErrCodes.h. |
| #define RTERR_READERR -29 |
|
|
|
Read error.
This status code if returned if a read I/O error is encountered when reading from an input stream associated with a physical device such as a file or socket.
Definition at line 286 of file rtxErrCodes.h. |
|
|
Invalid regular expression.
This status code is returned when a syntax error is detected in a regular expression value. Details of the syntax error can be obtained by invoking rtxErrPrint to print the details of the error contained within the context variable.
Definition at line 323 of file rtxErrCodes.h. |
| #define RTERR_SEQORDER -27 |
|
|
|
Sequence order error.
This status code is returned when decoding an xsd:sequence construct. It is raised if the elements were received in an order different than that specified in XSD sequence content model group definition.
Definition at line 272 of file rtxErrCodes.h. |
| #define RTERR_SEQOVFLW -8 |
|
|
|
Sequence overflow.
This status code is returned when decoding a repeating element (min/maxOccurs > 1) and more instances of the element are received than were defined in the maxOccurs facet.
Definition at line 115 of file rtxErrCodes.h. |
|
|
Duplicate element in set.
This status code is returned when decoding an xsd:all construct. It is raised if a given element defined in the content model group occurs multiple times in the instance being decoded.
Definition at line 91 of file rtxErrCodes.h. |
| #define RTERR_SETMISRQ -6 |
|
|
|
Missing required element in set.
This status code is returned when decoding an xsd:all construct and all required elements in the content model group are not found to be present in the instance being decoded.
Definition at line 98 of file rtxErrCodes.h. |
| #define RTERR_SOAPERR -39 |
|
|
|
SOAP error.
This status code when an error is detected when trying to execute a SOAP operation.
Definition at line 360 of file rtxErrCodes.h. |
| #define RTERR_STROVFLW -13 |
|
|
|
String overflow.
This status code is returned when a fixed-sized field is being decoded as specified by the xsd:maxLength facet and the item contains more characters or bytes then this amount. If can occur when a run-time function is called with a fixed-sixed static buffer and whatever operation is being done causes the bounds of this buffer to be exceeded.
Definition at line 158 of file rtxErrCodes.h. |
|
|
Value will not fit in target variable.
This status is returned by the decoder when a target variable is not large enough to hold a a decoded value. A typical case is an integer value that is too large to fit in the standard C integer type (typically a 32-bit value) on a given platform. If this occurs, it is usually necessary to use a configuration file setting to force the compiler to use a different data type for the item. For example, for integer, the <isBigInteger> setting can be used to force use of a big integer type.
Definition at line 242 of file rtxErrCodes.h. |
| #define RTERR_TOODEEP -15 |
|
|
|
Nesting level too deep.
This status code is returned when a preconfigured maximum nesting level for elements within an XSD content model groups is exceeded.
Definition at line 174 of file rtxErrCodes.h. |
| #define RTERR_UNEXPELEM -41 |
|
|
|
Unexpected element encountered.
This status code is returned when an element is encountered in a position where something else (for example, an attribute) was expected.
Definition at line 374 of file rtxErrCodes.h. |
| #define RTERR_WRITEERR -30 |
|
|
|
Write error.
This status code if returned if a write I/O error is encountered when attempting to output data to an output stream associated with a physical device such as a file or socket.
Definition at line 293 of file rtxErrCodes.h. |
| #define RTERR_XMLPARSE -26 |
|
|
|
XML parser error.
This status code in returned when the underlying XML parser application (by default, this is Expat) returns an error code. The parser error code or text is returned as a parameter in the errInfo structure within the context structure.
Definition at line 264 of file rtxErrCodes.h. |
| #define RTERR_XMLSTATE -25 |
|
|
|
XML state error.
This status code is returned when the XML parser is not in the correct state to do a certain operation.
Definition at line 256 of file rtxErrCodes.h. |
|
This file was last modified on
8 Jan 2007. XBinder, Version 1.1.9 |