Package org.springframework.batch.item
Class ReaderNotOpenException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.ReaderNotOpenException
- All Implemented Interfaces:
Serializable
Exception indicating that an
ItemReader
needed to be opened before read.- Author:
- Ben Hale
- See Also:
-
Constructor Summary
ConstructorDescriptionReaderNotOpenException
(String message) Create a newReaderNotOpenException
based on a message.ReaderNotOpenException
(String msg, Throwable nested) Create a newReaderNotOpenException
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
-
ReaderNotOpenException
Create a newReaderNotOpenException
based on a message.- Parameters:
message
- the message for this exception
-
ReaderNotOpenException
Create a newReaderNotOpenException
based on a message and another exception.- Parameters:
msg
- the message for this exceptionnested
- the other exception
-