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

public abstract class ItemWriterException extends RuntimeException
A base exception class that all exceptions thrown from an ItemWriter extend.
Author:
Ben Hale, Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • ItemWriterException

      public ItemWriterException(String message, Throwable cause)
      Create a new ItemWriterException based on a message and another exception.
      Parameters:
      message - the message for this exception
      cause - the other exception
    • ItemWriterException

      public ItemWriterException(String message)
      Create a new ItemWriterException based on a message.
      Parameters:
      message - the message for this exception