Package org.beanio
Class UnidentifiedRecordException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.beanio.BeanIOException
-
- org.beanio.BeanReaderException
-
- org.beanio.UnidentifiedRecordException
-
- All Implemented Interfaces:
java.io.Serializable
public class UnidentifiedRecordException extends BeanReaderException
Exception thrown when the record type of the last record read from aBeanReader
could not be determined. If the mapping file is used to enforce strict record ordering, further reads from the stream will likely cause further exceptions.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnidentifiedRecordException(RecordContext context, java.lang.String message)
Constructs a newUnidentifiedRecordException
.
-
Method Summary
-
Methods inherited from class org.beanio.BeanReaderException
getContext, getRecordContext, getRecordContext, getRecordCount, setRecordContext, setRecordContext
-
-
-
-
Constructor Detail
-
UnidentifiedRecordException
public UnidentifiedRecordException(RecordContext context, java.lang.String message)
Constructs a newUnidentifiedRecordException
.- Parameters:
context
- the current context of the bean readermessage
- the error message
-
-