Class DuplicateJobException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.batch.core.JobExecutionException
org.springframework.batch.core.configuration.DuplicateJobException
- All Implemented Interfaces:
Serializable
Checked exception that indicates a name clash when registering
Job
instances.- Author:
- Dave Syer, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorDescriptionCreate an exception with the given message.DuplicateJobException
(String msg, Throwable e) Create an exception with the given message and the given exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DuplicateJobException
Create an exception with the given message.- Parameters:
msg
- error message.
-
DuplicateJobException
Create an exception with the given message and the given exception.- Parameters:
msg
- error message.e
- instance ofThrowable
that is the cause of the exception.
-