Class NotEnoughInputDataException
Not enough input data.
This class replaces instance of the DynamicErrorException with Code == DynamicErrorException.ErrorCode.D2100
. It is introduced to
support the idiomatic approach of exception analyze due to recoverable nature of this error.
In particular it allows to make dedicated catch
clause for the data shortage error:
try {
decoder.Decode( ... );
} catch(NotEnoughInputDataException) {
// Go to obtain more data and repeat the decoding.
} catch(FastException e) {
// Other errors, basically - unrecoverable ones.
}
See also: D2100
Implements
Inherited Members
Namespace: OnixS.Fix.Fast
Assembly: OnixS.Fix.Engine.dll
Syntax
public class NotEnoughInputDataException : DynamicErrorException, ISerializable