Package org.springframework.batch.item
Class ItemWriterException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemWriterException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AsynchronousFailureException
,WriteFailedException
,WriterNotOpenException
A base exception class that all exceptions thrown from an
ItemWriter
extend.- Author:
- Ben Hale, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionItemWriterException
(String message) Create a newItemWriterException
based on a message.ItemWriterException
(String message, Throwable cause) Create a newItemWriterException
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
-
ItemWriterException
Create a newItemWriterException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
-
ItemWriterException
Create a newItemWriterException
based on a message.- Parameters:
message
- the message for this exception
-