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:
Serializable
- Direct Known Subclasses:
NonTransientResourceException,ParseException,ReaderNotOpenException,UnexpectedInputException,ValidationException
A base exception class that all exceptions thrown from an
ItemReader extend.- Author:
- Ben Hale, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionItemReaderException(String message) Create a newItemReaderExceptionbased on a message.ItemReaderException(String message, Throwable cause) Create a newItemReaderExceptionbased on a message and another exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ItemReaderException
Create a newItemReaderExceptionbased on a message and another exception.- Parameters:
message- the message for this exceptioncause- the other exception
-
ItemReaderException
Create a newItemReaderExceptionbased on a message.- Parameters:
message- the message for this exception
-