org.sape.carbon.core.component
Class ComponentNotFoundException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.sape.carbon.core.exception.BaseRuntimeException
|
+--org.sape.carbon.core.component.ComponentNotFoundException
- All Implemented Interfaces:
- Exceptionable, Serializable
- public class ComponentNotFoundException
- extends BaseRuntimeException
Exception thrown when the component subsytem attempts to fetch a
component but cannot find it configuration or attempts to destroy a
component that has not been loaded yet.
This exception has severity ERROR.
Copyright 2002 Sapient
- Since:
- carbon 1.0
- Version:
- $Revision: 1.14 $($Author: dvoet $ / $Date: 2003/05/05 21:21:11 $)
- Author:
- Douglas Voet, January 2002
- See Also:
- Serialized Form
Fields inherited from class java.lang.Throwable |
|
ComponentNotFoundException
public ComponentNotFoundException(Class sourceClass,
String logicalComponentName,
Throwable cause)
- Constructs this exception
- Parameters:
sourceClass
- the source class of this exceptionlogicalComponentName
- the logical path name of the component
that was requested, but not foundcause
- the exception that caused this failure
ComponentNotFoundException
public ComponentNotFoundException(Class sourceClass,
String logicalComponentName)
- Constructs this exception
- Parameters:
sourceClass
- the source class of this exceptionlogicalComponentName
- the logical path name of the component
that was requested, but not found
getSeverity
public SeverityEnum getSeverity()
- Returns the severity of this exception
- Specified by:
getSeverity
in interface Exceptionable
- Specified by:
getSeverity
in class BaseRuntimeException
- Returns:
- The severity of this exception. A missing component that was
expected is considered an "ERROR" level severity.
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.