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
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionItemWriterException(String message) Create a newItemWriterExceptionbased on a message.ItemWriterException(String message, Throwable cause) Create a newItemWriterExceptionbased 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 newItemWriterExceptionbased on a message and another exception.- Parameters:
message- the message for this exceptioncause- the other exception
-
ItemWriterException
Create a newItemWriterExceptionbased on a message.- Parameters:
message- the message for this exception
-