BeanIO 2.0.4

org.beanio.stream
Class RecordIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.beanio.stream.RecordIOException
All Implemented Interfaces:
Serializable

public class RecordIOException
extends RuntimeException

A RecordIOException is thrown when a RecordReader or RecordUnmarshaller encounters a malformed record. Subsequent reads from a RecordReader may or may not be possible.

Since:
1.0
Author:
Kevin Seim
See Also:
Serialized Form

Constructor Summary
RecordIOException(String message)
          Constructs a new RecordIOException.
RecordIOException(String message, Throwable cause)
          Constructs a new RecordIOException.
RecordIOException(Throwable cause)
          Constructs a new RecordIOException.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RecordIOException

public RecordIOException(String message,
                         Throwable cause)
Constructs a new RecordIOException.

Parameters:
message - the error message
cause - the root cause

RecordIOException

public RecordIOException(String message)
Constructs a new RecordIOException.

Parameters:
message - the error message

RecordIOException

public RecordIOException(Throwable cause)
Constructs a new RecordIOException.

Parameters:
cause - the root cause

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim