org.springframework.batch.core
Class JobExecutionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.batch.core.JobExecutionException
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- DuplicateJobException, JobExecutionAlreadyRunningException, JobInstanceAlreadyCompleteException, JobInterruptedException, JobRestartException, NoSuchJobException
public class JobExecutionException
- extends Exception
Root of exception hierarchy for checked exceptions in job and step execution.
Clients of the Job
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.
- Author:
- Dave Syer
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
JobExecutionException
public JobExecutionException(String msg)
- Construct a
JobExecutionException
with a generic message.
- Parameters:
msg
- the message
JobExecutionException
public JobExecutionException(String msg,
Throwable cause)
- Construct a
JobExecutionException
with a generic message and a
cause.
- Parameters:
msg
- the messagecause
- the cause of the exception
Copyright © 2009 SpringSource. All Rights Reserved.