BeanIO 1.2.3

org.beanio
Class InvalidRecordException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.beanio.BeanIOException
                  extended by org.beanio.BeanReaderException
                      extended by org.beanio.InvalidRecordException
All Implemented Interfaces:
Serializable

public class InvalidRecordException
extends BeanReaderException

Exception thrown when a record or one of its fields does not pass validation.

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

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

Constructor Detail

InvalidRecordException

public InvalidRecordException(BeanReaderContext context,
                              String message,
                              Throwable cause)
Constructs a new InvalidRecordException.

Parameters:
context - the current context of the reader
message - the error message
cause - the root cause

InvalidRecordException

public InvalidRecordException(BeanReaderContext context,
                              String message)
Constructs a new InvalidRecordException.

Parameters:
context - the current context of the reader
message - the error message
Method Detail

toString

public String toString()
Overrides:
toString in class Throwable

BeanIO 1.2.3

Copyright © 2010-2012 Kevin Seim