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:
java.io.Serializable
public class ReaderNotOpenException extends ItemReaderException
Exception indicating that anItemReaderneeded to be opened before read.- Author:
- Ben Hale
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description ReaderNotOpenException(java.lang.String message)Create a newReaderNotOpenExceptionbased on a message.ReaderNotOpenException(java.lang.String msg, java.lang.Throwable nested)Create a newReaderNotOpenExceptionbased on a message and another exception.
Constructor Detail
ReaderNotOpenException
public ReaderNotOpenException(java.lang.String message)
Create a newReaderNotOpenExceptionbased on a message.- Parameters:
message- the message for this exception
ReaderNotOpenException
public ReaderNotOpenException(java.lang.String msg, java.lang.Throwable nested)Create a newReaderNotOpenExceptionbased on a message and another exception.- Parameters:
msg- the message for this exceptionnested- the other exception