org.springframework.batch.item
Class WriteFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.item.ItemWriterException
                  extended by org.springframework.batch.item.WriteFailedException
All Implemented Interfaces:
Serializable

public class WriteFailedException
extends ItemWriterException

Unchecked exception indicating that an error has occurred while trying to clear a buffer on a rollback.

Author:
Lucas Ward, Ben Hale
See Also:
Serialized Form

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

WriteFailedException

public WriteFailedException(String message,
                            Throwable cause)
Create a new WriteFailedException based on a message and another exception.

Parameters:
message - the message for this exception
cause - the other exception

WriteFailedException

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

Parameters:
message - the message for this exception


Copyright © 2013 SpringSource. All Rights Reserved.