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.RuntimeException
A base exception class that all exceptions thrown from anItemReader
extend.- Author:
- Ben Hale
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ItemReaderException(java.lang.String message)
Create a newItemReaderException
based on a message.ItemReaderException(java.lang.String message, java.lang.Throwable cause)
Create a newItemReaderException
based on a message and another exception.
Constructor Detail
ItemReaderException
public ItemReaderException(java.lang.String message, java.lang.Throwable cause)
Create a newItemReaderException
based 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 newItemReaderException
based on a message.- Parameters:
message
- the message for this exception