类 DuplicateJobException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- org.springframework.batch.core.JobExecutionException
- org.springframework.batch.core.configuration.DuplicateJobException
- 所有已实现的接口:
java.io.Serializable
public class DuplicateJobException extends JobExecutionException
Checked exception that indicates a name clash when registeringJob
instances.- 作者:
- Dave Syer
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 DuplicateJobException(java.lang.String msg)
Create an exception with the given message.DuplicateJobException(java.lang.String msg, java.lang.Throwable e)
构造器详细资料
DuplicateJobException
public DuplicateJobException(java.lang.String msg)
Create an exception with the given message.- 参数:
msg
- error message.
DuplicateJobException
public DuplicateJobException(java.lang.String msg, java.lang.Throwable e)
- 参数:
msg
- error message.e
- instance ofThrowable
that is the cause of the exception.