Package org.springframework.batch.item
Class WriterNotOpenException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.ItemWriterException
- org.springframework.batch.item.WriterNotOpenException
- All Implemented Interfaces:
java.io.Serializable
public class WriterNotOpenException extends ItemWriterException
Exception indicating that anItemWriter
needed to be opened before being written to.- Author:
- Lucas Ward
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description WriterNotOpenException(java.lang.String message)
Create a newWriterNotOpenException
based on a message.WriterNotOpenException(java.lang.String msg, java.lang.Throwable nested)
Create a newWriterNotOpenException
based on a message and another exception.
Constructor Detail
WriterNotOpenException
public WriterNotOpenException(java.lang.String message)
Create a newWriterNotOpenException
based on a message.- Parameters:
message
- the message for this exception
WriterNotOpenException
public WriterNotOpenException(java.lang.String msg, java.lang.Throwable nested)
Create a newWriterNotOpenException
based on a message and another exception.- Parameters:
msg
- the message for this exceptionnested
- the other exception