RESOLVED - issue BATCH-489: undocumented JobExecutionException

This commit is contained in:
dsyer
2008-03-19 13:44:05 +00:00
parent 30d6e80af7
commit f8a74f39ac

View File

@@ -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);
}