org.sape.carbon.core.config.type
Class ConfigurationTypeException

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

public abstract class ConfigurationTypeException
extends ConfigurationException

This exception is thrown when there is a failure in parsing the string version of configuration data into its object representation.

Copyright 2001 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.13 $($Author: dvoet $ / $Date: 2003/05/05 21:21:20 $)
Author:
Greg Hinkle, 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
ConfigurationTypeException(Class sourceClass, String message)
          Constructor for ConfigurationTypeException.
ConfigurationTypeException(Class sourceClass, String message, Throwable cause)
          Constructor for ConfigurationTypeException.
 
Method Summary
 SeverityEnum getSeverity()
          Retrieves the severity of this exception.
 
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

ConfigurationTypeException

public ConfigurationTypeException(Class sourceClass,
                                  String message)
Constructor for ConfigurationTypeException.

Parameters:
sourceClass - the source class of the failure
message - a string describing the failure

ConfigurationTypeException

public ConfigurationTypeException(Class sourceClass,
                                  String message,
                                  Throwable cause)
Constructor for ConfigurationTypeException.

Parameters:
sourceClass - the source class of the failure
message - a string describing the failure
cause - the exception that caused the failure
Method Detail

getSeverity

public SeverityEnum getSeverity()
Retrieves the severity of this exception. This exception is considered an error as an invalid value can not be read from configuration

Specified by:
getSeverity in interface Exceptionable
Overrides:
getSeverity in class ConfigurationException
Returns:
the severity
See Also:
BaseException.getSeverity()


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.