Class UnexpectedJobExecutionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.batch.core.UnexpectedJobExecutionException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
FatalStepExecutionException, SkipException, SkipListenerFailedException, SkipPolicyFailedException

public class UnexpectedJobExecutionException extends RuntimeException
Indicates to the framework that a critical error has occurred and processing should immediately stop.
Author:
Lucas Ward
See Also:
  • Constructor Details

    • UnexpectedJobExecutionException

      public UnexpectedJobExecutionException(String msg)
      Constructs a new instance with a message.
      Parameters:
      msg - The exception message.
    • UnexpectedJobExecutionException

      public UnexpectedJobExecutionException(String msg, Throwable nested)
      Constructs a new instance with a message.
      Parameters:
      msg - The exception message.
      nested - An instance of Throwable that is the cause of the exception.