org.springframework.batch.item
Class MarkFailedException

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.MarkFailedException
All Implemented Interfaces:
Serializable

public class MarkFailedException
extends ItemReaderException

An exception class thrown when an ItemReader fails to mark its current state for future retry.

Author:
Dave Syer, Ben Hale
See Also:
Serialized Form

Constructor Summary
MarkFailedException(String message)
          Create a new MarkFailedException based on a message.
MarkFailedException(String msg, Throwable nested)
          Create a new MarkFailedException 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

MarkFailedException

public MarkFailedException(String message)
Create a new MarkFailedException based on a message.

Parameters:
message - the message for this exception

MarkFailedException

public MarkFailedException(String msg,
                           Throwable nested)
Create a new MarkFailedException based on a message and another exception.

Parameters:
msg - the message for this exception
nested - the other exception


Copyright © 2009 SpringSource. All Rights Reserved.