org.sape.carbon.services.carbonmanagement
Class CarbonManagementServiceException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--org.sape.carbon.core.exception.BaseException
|
+--org.sape.carbon.services.carbonmanagement.CarbonManagementServiceException
- All Implemented Interfaces:
- Exceptionable, Serializable
- Direct Known Subclasses:
- ComponentNotFoundException, ConfigurationNotFoundException
- public abstract class CarbonManagementServiceException
- extends BaseException
Abstract base class for all exceptions thrown within the
CarbonManagementService
Copyright 2002 Sapient
- Since:
- carbon 1.2
- Version:
- $Revision: 1.6 $($Author: jreed $ / $Date: 2003/04/15 18:53:53 $)
- Author:
- Douglas Voet, Dec 19, 2002
- See Also:
- 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 |
CarbonManagementServiceException
public CarbonManagementServiceException(Class sourceClass,
String message)
- Constructor for CarbonManagementServiceException.
- Parameters:
sourceClass
- The source class of this exceptionmessage
- string information relating to this exception
CarbonManagementServiceException
public CarbonManagementServiceException(Class sourceClass,
String message,
Throwable cause)
- Constructor for CarbonManagementServiceException.
- 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:
- SeverityEnum.DETAIL
Copyright 1999-2003 Sapient Corporation. All Rights Reserved.