RESOLVED - issue BATCH-489: undocumented JobExecutionException
This commit is contained in:
@@ -16,15 +16,31 @@
|
||||
package org.springframework.batch.core;
|
||||
|
||||
/**
|
||||
* Root of exception hierarchy for checked exceptions in job and step execution.
|
||||
* Clients of the {@link 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
|
||||
*
|
||||
*
|
||||
*/
|
||||
public class JobExecutionException extends Exception {
|
||||
|
||||
/**
|
||||
* Construct a {@link JobExecutionException} with a generic message.
|
||||
* @param msg the message
|
||||
*/
|
||||
public JobExecutionException(String msg) {
|
||||
super(msg);
|
||||
}
|
||||
|
||||
/**
|
||||
* Construct a {@link JobExecutionException} with a generic message and a
|
||||
* cause.
|
||||
*
|
||||
* @param msg the message
|
||||
* @param cause the cause of the exception
|
||||
*/
|
||||
public JobExecutionException(String msg, Throwable cause) {
|
||||
super(msg, cause);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user