Package org.springframework.batch.item

# Class NonTransientResourceException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.item.ItemReaderException
org.springframework.batch.item.NonTransientResourceException

All Implemented Interfaces:
  `Serializable`

Direct Known Subclasses:
  `NonTransientFlatFileException`

public class NonTransientResourceException extends ItemReaderException
Exception indicating that an error has been encountered doing I/O from a reader, and the exception should be considered fatal.

Author:
  Dave Syer
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `NonTransientResourceException(String message)`
  Create a new `NonTransientResourceException` based on a message.
  `NonTransientResourceException(String message, Throwable cause)`
  Create a new `NonTransientResourceException` 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`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### NonTransientResourceException

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

  - ### NonTransientResourceException

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