Package org.oddjob.jobs.tasks
Class TaskException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.oddjob.jobs.tasks.TaskException
- All Implemented Interfaces:
Serializable
An exception to be used by Tasks.
- Author:
- Rob Gordon
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new Exception with no message an no cause.Constructs a new Exception with given message.TaskException(String s, Throwable t) Constructs a new Exception with the given message an cause.Constructs a new Exception with the given cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TaskException
public TaskException()Constructs a new Exception with no message an no cause. -
TaskException
Constructs a new Exception with the given message an cause.- Parameters:
s- The message.t- The cause.
-
TaskException
Constructs a new Exception with the given cause.- Parameters:
t- The cause.
-
TaskException
Constructs a new Exception with given message.- Parameters:
s- The message.
-