BeanIO 2.0.4

Class UnidentifiedRecordException

  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.UnidentifiedRecordException
All Implemented Interfaces:

public class UnidentifiedRecordException
extends BeanReaderException

Exception thrown when the record type of the last record read from a BeanReader 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.

Kevin Seim
See Also:
Serialized Form

Constructor Summary
UnidentifiedRecordException(RecordContext context, String message)
          Constructs a new UnidentifiedRecordException.
Method Summary
Methods inherited from class org.beanio.BeanReaderException
getContext, getRecordContext, getRecordContext, getRecordCount, setRecordContext, setRecordContext
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


public UnidentifiedRecordException(RecordContext context,
                                   String message)
Constructs a new UnidentifiedRecordException.

context - the current context of the bean reader
message - the error message

BeanIO 2.0.4

Copyright © 2010-2013 Kevin Seim