类 JobExecutionException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- org.springframework.batch.core.JobExecutionException
- 所有已实现的接口:
java.io.Serializable
- 直接已知子类:
DuplicateJobException
,JobExecutionAlreadyRunningException
,JobExecutionNotFailedException
,JobExecutionNotRunningException
,JobExecutionNotStoppedException
,JobInstanceAlreadyCompleteException
,JobInstanceAlreadyExistsException
,JobInterruptedException
,JobParametersInvalidException
,JobParametersNotFoundException
,JobRestartException
,NoSuchJobException
,NoSuchJobExecutionException
,NoSuchJobInstanceException
public class JobExecutionException extends java.lang.Exception
Root of exception hierarchy for checked exceptions in job and step execution. Clients of theJob
should expect to have to catch and deal with these exceptions because they signal a user error, or an inconsistent state between the user's instructions and the data.- 作者:
- Dave Syer
- 另请参阅:
- 序列化表格
构造器概要
构造器 构造器 说明 JobExecutionException(java.lang.String msg)
Construct aJobExecutionException
with a generic message.JobExecutionException(java.lang.String msg, java.lang.Throwable cause)
Construct aJobExecutionException
with a generic message and a cause.
构造器详细资料
JobExecutionException
public JobExecutionException(java.lang.String msg)
Construct aJobExecutionException
with a generic message.- 参数:
msg
- the message
JobExecutionException
public JobExecutionException(java.lang.String msg, java.lang.Throwable cause)
Construct aJobExecutionException
with a generic message and a cause.- 参数:
msg
- the messagecause
- the cause of the exception