Package org.springframework.batch.item
Class WriteFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemWriterException
org.springframework.batch.item.WriteFailedException
- All Implemented Interfaces:
Serializable
Unchecked exception indicating that an error has occurred while trying to clear a
buffer on a rollback.
- Author:
- Lucas Ward, Ben Hale, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionWriteFailedException
(String message) Create a newWriteFailedException
based on a message.WriteFailedException
(String message, Throwable cause) Create a newWriteFailedException
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
-
WriteFailedException
Create a newWriteFailedException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
-
WriteFailedException
Create a newWriteFailedException
based on a message.- Parameters:
message
- the message for this exception
-