Class AsynchronousFailureException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- org.springframework.batch.item.ItemWriterException
- org.springframework.batch.integration.chunk.AsynchronousFailureException
- All Implemented Interfaces:
java.io.Serializable
public class AsynchronousFailureException extends ItemWriterException
Exception indicating that a failure or early completion condition was detected in a remote worker.- Author:
- Dave Syer
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description AsynchronousFailureException(java.lang.String message)
Create a newAsynchronousFailureException
based on a message.AsynchronousFailureException(java.lang.String message, java.lang.Throwable cause)
Create a newAsynchronousFailureException
based on a message and another exception.
Constructor Detail
AsynchronousFailureException
public AsynchronousFailureException(java.lang.String message, java.lang.Throwable cause)
Create a newAsynchronousFailureException
based on a message and another exception.- Parameters:
message
- the message for this exceptioncause
- the other exception
AsynchronousFailureException
public AsynchronousFailureException(java.lang.String message)
Create a newAsynchronousFailureException
based on a message.- Parameters:
message
- the message for this exception