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:
Serializable
Exception indicating that an
ItemWriter
needed to be opened before being
written to.- Author:
- Lucas Ward, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionWriterNotOpenException
(String message) Create a newWriterNotOpenException
based on a message.WriterNotOpenException
(String msg, Throwable nested) Create a newWriterNotOpenException
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
-
WriterNotOpenException
Create a newWriterNotOpenException
based on a message.- Parameters:
message
- the message for this exception
-
WriterNotOpenException
Create a newWriterNotOpenException
based on a message and another exception.- Parameters:
msg
- the message for this exceptionnested
- the other exception
-