org.sape.carbon.services.scheduler
Class UnrecoverableTaskException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.sape.carbon.core.exception.BaseException
|
+--org.sape.carbon.services.scheduler.UnrecoverableTaskException
- All Implemented Interfaces:
- Exceptionable, Serializable
- public class UnrecoverableTaskException
- extends BaseException
This exception should be thrown by the runScheduledTask method of a
Schedulable component if the task is in an irretrievable state and should
be canceled.
- Since:
- carbon 1.2
- Version:
- $Revision: 1.7 $($Author: dvoet $ / $Date: 2003/05/05 21:21:33 $)
- Author:
- Douglas Voet, Jan 30, 2003
- See Also:
Copyright 2002 Sapient
,
Serialized Form
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
SeverityEnum |
getSeverity()
This method must be overriden by subclasses so that
they may declare their severity |
UnrecoverableTaskException
public UnrecoverableTaskException(Class sourceClass,
String message)
- Constructor for UnrecoverableTaskException.
- Parameters:
sourceClass
- The source class of this exceptionmessage
- string information relating to this exception
UnrecoverableTaskException
public UnrecoverableTaskException(Class sourceClass,
String message,
Throwable cause)
- Constructor for UnrecoverableTaskException.
- Parameters:
sourceClass
- The source class of this exceptionmessage
- string information relating to this exceptioncause
- a throwable that can be considered the cause
of the current exception (used in levelizing exceptions)
getSeverity
public SeverityEnum getSeverity()
- Description copied from class:
BaseException
- This method must be overriden by subclasses so that
they may declare their severity
- Specified by:
getSeverity
in interface Exceptionable
- Specified by:
getSeverity
in class BaseException
- Returns:
- the severity of this exception
- See Also:
Exceptionable.getSeverity()
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.