Package org.springframework.batch.core.step.skip

# Class SkipPolicyFailedException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.core.UnexpectedJobExecutionException
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

  Constructors
  Constructor
  Description
  `SkipPolicyFailedException(String message, RuntimeException ex, Throwable t)`

- ## Method Summary

  ### Methods inherited from class java.lang.Throwable

  `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### 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