org.beanio
Class UnexpectedRecordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.beanio.BeanIOException
org.beanio.BeanReaderException
org.beanio.UnexpectedRecordException
- All Implemented Interfaces:
- Serializable
public class UnexpectedRecordException
- extends BeanReaderException
An UnexpectedRecordException is thrown when the record type of
last record read from the underlying input stream is out of order as
defined by the stream configuration.
- Since:
- 1.0
- Author:
- Kevin Seim
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnexpectedRecordException
public UnexpectedRecordException(BeanReaderContext context,
String message)
- Constructs a new UnexpectedRecordException.
- Parameters:
context
- the current context of the bean readermessage
- the error message
Copyright © 2010-2012 Kevin Seim