org.springframework.batch.item
Class ItemReaderException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.ItemReaderException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MarkFailedException, NoWorkFoundException, ParseException, ReaderNotOpenException, ResetFailedException, UnexpectedInputException, ValidationException

public abstract class ItemReaderException
extends RuntimeException

A base exception class that all exceptions thrown from an ItemReader extend.

Author:
Ben Hale
See Also:
Serialized Form

Constructor Summary
ItemReaderException(String message)
          Create a new ItemReaderException based on a message.
ItemReaderException(String message, Throwable cause)
          Create a new ItemReaderException based on a message and another exception.
 
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

ItemReaderException

public ItemReaderException(String message,
                           Throwable cause)
Create a new ItemReaderException based on a message and another exception.

Parameters:
message - the message for this exception
cause - the other exception

ItemReaderException

public ItemReaderException(String message)
Create a new ItemReaderException based on a message.

Parameters:
message - the message for this exception


Copyright © 2008 SpringSource. All Rights Reserved.