org.springframework.batch.item
Class FlushFailedException

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

public class FlushFailedException
extends ItemWriterException

Unchecked exception indicating that an error has occurred while trying to call ItemWriter.flush()

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

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

FlushFailedException

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

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

FlushFailedException

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

Parameters:
message - the message for this exception


Copyright © 2009 SpringSource. All Rights Reserved.