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:
java.io.Serializable
public class WriteFailedException extends ItemWriterException
Unchecked exception indicating that an error has occurred while trying to clear a buffer on a rollback.- Author:
- Lucas Ward, Ben Hale
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description WriteFailedException(java.lang.String message)
Create a newWriteFailedException
based on a message.WriteFailedException(java.lang.String message, java.lang.Throwable cause)
Create a newWriteFailedException
based on a message and another exception.
Constructor Detail
WriteFailedException
public WriteFailedException(java.lang.String message, java.lang.Throwable cause)
Create a newWriteFailedException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
WriteFailedException
public WriteFailedException(java.lang.String message)
Create a newWriteFailedException
based on a message.- Parameters:
message
- the message for this exception