Package org.springframework.batch.core
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
Indicates to the framework that a critical error has occurred and processing should
immediately stop.
- Author:
- Lucas Ward
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a new instance with a message.UnexpectedJobExecutionException
(String msg, Throwable nested) Constructs a new instance with a message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnexpectedJobExecutionException
Constructs a new instance with a message.- Parameters:
msg
- The exception message.
-
UnexpectedJobExecutionException
Constructs a new instance with a message.- Parameters:
msg
- The exception message.nested
- An instance ofThrowable
that is the cause of the exception.
-