public class UnexpectedRecordException extends BeanReaderException
BeanReader
is out of order based on the expected order defined by the stream's mapping file.
After this exception is thrown, further reads from the stream will likely result in
further exceptions.Constructor and Description |
---|
UnexpectedRecordException(RecordContext context,
String message)
Constructs a new UnexpectedRecordException.
|
getContext, getRecordContext, getRecordContext, getRecordCount, setRecordContext, setRecordContext
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public UnexpectedRecordException(RecordContext context, String message)
context
- the current context of the bean readermessage
- the error message