com.ls.util.taskrun
Class TaskException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ls.BaseException
|
+--com.ls.util.taskrun.TaskException
- All Implemented Interfaces:
- Serializable
- public class TaskException
- extends BaseException
This class represents a failure occured during execution of a Task
.
- Version:
- $Revision: 1.0 $
- Author:
- Last modified by $Author: TZink $
- See Also:
- Serialized Form
Constructor Summary |
TaskException(String description)
Create a new exception instance with an additional description of the particular error condition. |
TaskException(String description,
Throwable rootCause)
Creates a new exception instance with an additional description and a nested exception. |
TaskException
public TaskException(String description)
- Create a new exception instance with an additional description of the particular error condition.
- Parameters:
description
- Description of the error condition.
TaskException
public TaskException(String description,
Throwable rootCause)
- Creates a new exception instance with an additional description and a nested exception. This constructor is used,
if a subsystem used inside the task throws an exception which should be reported to the caller of the task.
- Parameters:
description
- Decription of the error condition.rootCause
- The exception thrown by the subsystem inside the task.