Package org.springframework.batch.item
Class NonTransientResourceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.NonTransientResourceException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
NonTransientFlatFileException
Exception indicating that an error has been encountered doing I/O from a reader, and
the exception should be considered fatal.
- Author:
- Dave Syer, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionNonTransientResourceException
(String message) Create a newNonTransientResourceException
based on a message.NonTransientResourceException
(String message, Throwable cause) Create a newNonTransientResourceException
based 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
-
NonTransientResourceException
Create a newNonTransientResourceException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
-
NonTransientResourceException
Create a newNonTransientResourceException
based on a message.- Parameters:
message
- the message for this exception
-