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:
java.io.Serializable
- Direct Known Subclasses:
FatalStepExecutionException
,SkipException
,SkipListenerFailedException
,SkipPolicyFailedException
public class UnexpectedJobExecutionException extends java.lang.RuntimeException
Indicates to the framework that a critical error has occurred and processing should immediately stop.- Author:
- Lucas Ward
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description UnexpectedJobExecutionException(java.lang.String msg)
Constructs a new instance with a message.UnexpectedJobExecutionException(java.lang.String msg, java.lang.Throwable nested)
Constructs a new instance with a message.
Constructor Detail
UnexpectedJobExecutionException
public UnexpectedJobExecutionException(java.lang.String msg)
Constructs a new instance with a message.- Parameters:
msg
- the exception message.
UnexpectedJobExecutionException
public UnexpectedJobExecutionException(java.lang.String msg, java.lang.Throwable nested)
Constructs a new instance with a message.- Parameters:
msg
- the exception message.nested
- instance ofThrowable
that is the cause of the exception.