org.sape.carbon.core.component.lifecycle
Class StateTransitionException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.sape.carbon.core.exception.BaseRuntimeException
|
+--org.sape.carbon.core.component.ComponentException
|
+--org.sape.carbon.core.component.lifecycle.LifecycleException
|
+--org.sape.carbon.core.component.lifecycle.StateTransitionException
- All Implemented Interfaces:
- Exceptionable, Serializable
- Direct Known Subclasses:
- NonFatalStateTransitionException
- public class StateTransitionException
- extends LifecycleException
Indicates a failure to complete a lifecycle operation.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.13 $($Author: dvoet $ / $Date: 2003/05/05 21:21:13 $)
- Author:
- Chris Herron, January 2002
- See Also:
- Serialized Form
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 |
StateTransitionException
public StateTransitionException(Class sourceClass,
String message)
- Constructor for StateTransitionException.
- Parameters:
sourceClass
- the source class of the failuremessage
- a string describing the failure
StateTransitionException
public StateTransitionException(Class sourceClass,
String message,
Throwable cause)
- Constructor for StateTransitionException.
- Parameters:
sourceClass
- the source class of the failuremessage
- a string describing the failurecause
- the exception that caused the failure
getSeverity
public SeverityEnum getSeverity()
- Description copied from class:
BaseRuntimeException
- 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 BaseRuntimeException
- Returns:
- the severity of this exception
- See Also:
Exceptionable.getSeverity()
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.