org.beanio
Class MalformedRecordException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.beanio.BeanIOException
org.beanio.BeanReaderException
org.beanio.MalformedRecordException
- All Implemented Interfaces:
- Serializable
public class MalformedRecordException
- extends BeanReaderException
Exception thrown when a record does not adhere to the expected syntax of
the stream format. Subsequent calls to BeanReader.read()
are not
likely to be successful.
- 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 |
MalformedRecordException
public MalformedRecordException(RecordContext context,
String message)
- Constructs a new MalformedRecordException.
- Parameters:
context
- the record context for the malformed recordmessage
- the error message
MalformedRecordException
public MalformedRecordException(RecordContext context,
String message,
Throwable cause)
- Constructs a new MalformedRecordException.
- Parameters:
context
- the record context for the malformed recordmessage
- the error messagecause
- the root cause
Copyright © 2010-2013 Kevin Seim