public static class DynamicErrorException.Code extends Object
D2100-D2499 This range is split for the several areas.
Subrange | Description |
---|---|
D2100-D2199 | Recoverable or conditionally recoverable errors. See the specific error description for details. |
D2200-D2299 | Unrecoverable decoding errors. Such errors require at least to call the Coder.reset() method to continue operations. |
D2300-D2399 | Errors in the message being encoded. Such errors can require to call the Coder.reset() method to continue operation and usually need to change content of the encoded message. |
D2500 and above Internal errors that should be never appeared.
Modifier and Type | Field and Description |
---|---|
static FastErrorCode |
D2100
Not enough input data for decoding.
|
static FastErrorCode |
D2101
FIX Engine is not initialized.
|
static FastErrorCode |
D2102
The decoded number of repeating groups exceeds the specified limit.
|
static FastErrorCode |
D2201
The decoded index of enumeration value for the given field doesn't fit into valid range.
|
static FastErrorCode |
D2202
The field data contains extra bits, disallowed for the given field.
|
static FastErrorCode |
D2203
The input data assumes repeating of previously used template, but there is no previous template have been used.
|
static FastErrorCode |
D2204
Unable to create message of the given type.
|
static FastErrorCode |
D2205
An integer in the stream does not fall within the bounds of the specific integer type specified on the corresponding field.
|
static FastErrorCode |
D2206
A mandatory field is not present in the stream and has an empty previous value.
|
static FastErrorCode |
D2207
A mandatory field is not present in the stream, has an undefined previous value and there is no initial value in the instruction context.
|
static FastErrorCode |
D2209
The type of the previous value is not the same as the type of the field of the current operator.
|
static FastErrorCode |
D2210
The subtraction length exceeds the length of the base value or it does not fall in the value range of an int32.
|
static FastErrorCode |
D2211
The decoder cannot find a template associated with a template identifier appearing in the stream.
|
static FastErrorCode |
D2300
No template with the given id have been found for encoding.
|
static FastErrorCode |
D2301
A mandatory field missed from the message to be encoded.
|
static FastErrorCode |
D2302
The length of the field to be encoded as a tail is less than the length of the base value.
|
static FastErrorCode |
D2303
The value of the constant field differs from the one specified in the template.
|
static FastErrorCode |
D2304
The value of the field doesn't appear at the list of valid enumeration values.
|
static FastErrorCode |
D2305
The field value contains the string (or strings) that cannot be interpreted as a part of set.
|
static FastErrorCode |
D2306
The field is null and can not be used for set encoding.
|
static FastErrorCode |
D2307
No template found for the message type.
|
static FastErrorCode |
D2308
Template message type is not equal to the actual message type.
|
static FastErrorCode |
D2500
Internal error.
|
static FastErrorCode |
D2501
Internal error.
|
static FastErrorCode |
D2502
Internal error.
|
static FastErrorCode |
D2503
Internal error.
|
Constructor and Description |
---|
Code() |
public static FastErrorCode D2100
It is a recoverable error: the decoding just have to be repeated when there will be more data.
This code never appears in an instance of the DynamicErrorException
class itself,
because in a case of data shortage methods of the Decoder
throws an instance of the NotEnoughInputDataException
class (which, in turn, is inherited from the DynamicErrorException
).
NotEnoughInputDataException
public static FastErrorCode D2101
The FIX Engine must be initialized before using of FAST coders. This error can be recovered in particular situations, but basically it signals about serious problems in the software architecture.
public static FastErrorCode D2102
Usually this error notifies about an error in data.
But in particular cases the number of repeating groups can be a large one (it depends on the actual conditions).
In such cases that exception can be suppressed by call of Decoder.setMaximumNumberOfRepeatingGroupEntries(int)
with the enough value.
public static FastErrorCode D2201
This error occurs when the raw data contains value that exceeds the range of enumeration values indexes.
public static FastErrorCode D2202
This error occurs if the input data for the 'set'-encoded field contains more bits than the number of values in the set.
public static FastErrorCode D2203
In particular cases the input data can suppose usage of previously used FAST template to decode the next message. If actually there was no previous decoding cycle this error is issued.
public static FastErrorCode D2204
This exception happens if decoder unable to create the result FIX message.
The Throwable.getCause()
provides information about the reason of this exception.
public static FastErrorCode D2205
This error corresponds to the D2 error in the FAST specification.
public static FastErrorCode D2206
This error corresponds to the D6 error in FAST specification.
public static FastErrorCode D2207
This error corresponds to the D5 error in FAST specification.
public static FastErrorCode D2209
This error corresponds to the D4 error in FAST specification.
public static FastErrorCode D2210
This error corresponds to the D7 error in FAST specification.
public static FastErrorCode D2211
This error corresponds to the D9 error in FAST specification.
public static FastErrorCode D2300
public static FastErrorCode D2301
This error happens during encoding when someone field describe din FAST template as mandatory but has the null value.
public static FastErrorCode D2302
This error occurs when the operator 'tail' is used and because of errors in the data the decoder must remove more characters from the previous value of this field than they really are.
public static FastErrorCode D2303
This error occurs when the field is encoded with operator 'constant' and actually contains a value that differs from the one specified in the FAST template.
public static FastErrorCode D2304
This error occurs when the field is encoded as 'enum' but has a value that was not declared in the FAST template in the list of possible enumeration values.
public static FastErrorCode D2305
This error occurs during encoding if the field is encoded as 'set' but contains a value that was not declared in the FAST template in the set of possible values.
public static FastErrorCode D2306
The error issued if a field described as a set in FAST template but is null in the message being encoded.
public static FastErrorCode D2307
This error means that the FAST template has no definition for the message of given type (tag <35>) that is attempted to encode.
public static FastErrorCode D2308
This error means that type of the message being encoded is not equal to the message type specified in the FAST template chosen for encode.
public static FastErrorCode D2500
public static FastErrorCode D2501
public static FastErrorCode D2502
public static FastErrorCode D2503
Copyright © 2005–2024 Onix Solutions. All rights reserved.