Package org.springframework.batch.item
Class ItemReaderException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.ItemReaderException
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
NonTransientResourceException,ParseException,ReaderNotOpenException,UnexpectedInputException,ValidationException
public abstract class ItemReaderException extends java.lang.RuntimeExceptionA base exception class that all exceptions thrown from anItemReaderextend.- Author:
- Ben Hale
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ItemReaderException(java.lang.String message)Create a newItemReaderExceptionbased on a message.ItemReaderException(java.lang.String message, java.lang.Throwable cause)Create a newItemReaderExceptionbased on a message and another exception.
Constructor Detail
ItemReaderException
public ItemReaderException(java.lang.String message, java.lang.Throwable cause)Create a newItemReaderExceptionbased on a message and another exception.- Parameters:
message- the message for this exceptioncause- the other exception
ItemReaderException
public ItemReaderException(java.lang.String message)
Create a newItemReaderExceptionbased on a message.- Parameters:
message- the message for this exception