Package org.beanio.stream
Class RecordIOException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.beanio.stream.RecordIOException
-
- All Implemented Interfaces:
java.io.Serializable
public class RecordIOException extends java.lang.RuntimeException
ARecordIOException
is thrown when aRecordReader
orRecordUnmarshaller
encounters a malformed record. Subsequent reads from aRecordReader
may or may not be possible.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecordIOException(java.lang.String message)
Constructs a newRecordIOException
.RecordIOException(java.lang.String message, java.lang.Throwable cause)
Constructs a newRecordIOException
.RecordIOException(java.lang.Throwable cause)
Constructs a newRecordIOException
.
-
-
-
Constructor Detail
-
RecordIOException
public RecordIOException(java.lang.String message, java.lang.Throwable cause)
Constructs a newRecordIOException
.- Parameters:
message
- the error messagecause
- the root cause
-
RecordIOException
public RecordIOException(java.lang.String message)
Constructs a newRecordIOException
.- Parameters:
message
- the error message
-
RecordIOException
public RecordIOException(java.lang.Throwable cause)
Constructs a newRecordIOException
.- Parameters:
cause
- the root cause
-
-