Class JobInstanceAlreadyExistsException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- org.springframework.batch.core.JobExecutionException
- org.springframework.batch.core.launch.JobInstanceAlreadyExistsException
- All Implemented Interfaces:
java.io.Serializable
public class JobInstanceAlreadyExistsException extends JobExecutionException
Checked exception to indicate that a requiredJob
is not available.- Author:
- Dave Syer
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description JobInstanceAlreadyExistsException(java.lang.String msg)
Create an exception with the given message.JobInstanceAlreadyExistsException(java.lang.String msg, java.lang.Throwable e)
Constructor Detail
JobInstanceAlreadyExistsException
public JobInstanceAlreadyExistsException(java.lang.String msg)
Create an exception with the given message.- Parameters:
msg
- the error message.
JobInstanceAlreadyExistsException
public JobInstanceAlreadyExistsException(java.lang.String msg, java.lang.Throwable e)
- Parameters:
msg
- the error message.e
- the cause of the exception.