org.springframework.batch.core.step.skip
Class SkipPolicyFailedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.springframework.batch.core.UnexpectedJobExecutionException
                  extended by org.springframework.batch.core.step.skip.SkipPolicyFailedException
All Implemented Interfaces:
Serializable

public class SkipPolicyFailedException
extends UnexpectedJobExecutionException

Special exception to indicate a failure in a skip policy. These need special treatment in the framework in case a skip sends itself into an infinite loop.

Author:
Dave Syer
See Also:
Serialized Form

Constructor Summary
SkipPolicyFailedException(String message, RuntimeException ex, Throwable t)
           
 
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

SkipPolicyFailedException

public SkipPolicyFailedException(String message,
                                 RuntimeException ex,
                                 Throwable t)
Parameters:
message - describes the error to the user
ex - the exception that was thrown by a SkipPolicy
t - the exception that caused the skip


Copyright © 2013 SpringSource. All Rights Reserved.