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
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
ConfigurationTypeException
public ConfigurationTypeException(Class sourceClass,
String message)
- Constructor for ConfigurationTypeException.
- Parameters:
sourceClass
- the source class of the failuremessage
- a string describing the failure
ConfigurationTypeException
public ConfigurationTypeException(Class sourceClass,
String message,
Throwable cause)
- Constructor for ConfigurationTypeException.
- Parameters:
sourceClass
- the source class of the failuremessage
- a string describing the failurecause
- the exception that caused the failure
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.