org.sape.carbon.core.config
Class ConfigurationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.core.config.ConfigurationException
All Implemented Interfaces:
Exceptionable, Serializable
Direct Known Subclasses:
ConfigurationFormatException, ConfigurationStoreException, ConfigurationTypeException, NodeException

public abstract class ConfigurationException
extends BaseException

This abstract exception is the base exception for exceptions that occur within the Carbon Configuration Service.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.17 $($Author: dvoet $ / $Date: 2003/05/05 21:21:15 $)
Author:
Mike Redd, December 2001
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sape.carbon.core.exception.BaseException
delegatedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ConfigurationException(Class sourceClass, String message)
          Creates a ConfigurationException.
ConfigurationException(Class sourceClass, String message, Throwable cause)
          Creates a ConfigurationException
 
Method Summary
 SeverityEnum getSeverity()
          This method must be overriden by subclasses so that they may declare their severity
 
Methods inherited from class org.sape.carbon.core.exception.BaseException
getCause, getExceptionSource, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationException

public ConfigurationException(Class sourceClass,
                              String message)
Creates a ConfigurationException.

Parameters:
sourceClass - the source class of where this exception was thrown
message - a message describing the reason that configuration failed

ConfigurationException

public ConfigurationException(Class sourceClass,
                              String message,
                              Throwable cause)
Creates a ConfigurationException

Parameters:
sourceClass - the source class of where this exception was thrown
message - a message describing the reason that configuration failed
cause - the exception that caused this failure
Method Detail

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:
BaseException.getSeverity()


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.