Class ItemReaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NonTransientResourceException, ParseException, ReaderNotOpenException, UnexpectedInputException, ValidationException

public abstract class ItemReaderException extends RuntimeException
A base exception class that all exceptions thrown from an ItemReader extend.
Author:
Ben Hale
See Also:
  • Constructor Details

    • ItemReaderException

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

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