Package com.swiftmq.swiftlet.scheduler
Class JobException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.swiftmq.swiftlet.scheduler.JobException
- All Implemented Interfaces:
Serializable
A JobException is thrown by a Job or passed from a Job to a JobTerminationListener.
It contains an optional nested exception and an attribute which decides whether the
Job can be rescheduled or is marked as errorneous.
- Author:
- IIT GmbH, Bremen/Germany, Copyright (c) 2000-2003, All Rights Reserved
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionJobException
(String s, Exception nestedException) Creates a JobException with a message and a nested exception.JobException
(String s, Exception nestedException, boolean furtherScheduleAllowed) Creates a JobException with a message, a nested exception, and a flag concerning further schedules. -
Method Summary
Modifier and TypeMethodDescriptionReturns the nested exception.boolean
Returns whether further schedules are allowed or not.toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
JobException
Creates a JobException with a message and a nested exception. Further schedules are allowed.- Parameters:
s
- MessagenestedException
- nested exception
-
JobException
Creates a JobException with a message, a nested exception, and a flag concerning further schedules.- Parameters:
s
- MessagenestedException
- nested exceptionfurtherScheduleAllowed
- states whether further schedules are allowed or not
-
-
Method Details