org.springframework.batch.item
Class NonTransientResourceException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.ItemReaderException
                  extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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


Copyright © 2013 SpringSource. All Rights Reserved.