org.sape.carbon.core.component.lifecycle
Class ComponentUnavailableException
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.ComponentUnavailableException
- All Implemented Interfaces:
- Exceptionable, Serializable
- public class ComponentUnavailableException
- extends LifecycleException
Thrown when a request for service cannot be handled, due to the Component
being Stopped or Suspended.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.12 $($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 |
|
ComponentUnavailableException
public ComponentUnavailableException(Class sourceClass,
String message)
- Constructor for ComponentUnavailableException.
- Parameters:
sourceClass
- the source class of the exceptionmessage
- a description of the failure
ComponentUnavailableException
public ComponentUnavailableException(Class sourceClass,
String message,
Throwable cause)
- Constructor for ComponentUnavailableException.
- Parameters:
sourceClass
- the source class of the exceptionmessage
- a description of the failurecause
- the exception that caused this failure
getSeverity
public SeverityEnum getSeverity()
- The severity of this failure
- Specified by:
getSeverity
in interface Exceptionable
- Specified by:
getSeverity
in class BaseRuntimeException
- Returns:
- the Severity of this failure
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.