| org.sape.carbon.core.config.ConfigurationRuntimeException org.sape.carbon.core.config.InvalidConfigurationException
InvalidConfigurationException | public class InvalidConfigurationException extends ConfigurationRuntimeException (Code) | | This exception is utilized to relate that a supplied configuration
is invalid or could not be found. This exception should be utilized
for individual properties that are invalid or for properties
that in relation to eachother are invalid.
Copyright 2001 Sapient
since: carbon 1.0 author: Greg Hinkle, December 2001 version: $Revision: 1.15 $($Author: dvoet $ / $Date: 2003/05/05 21:21:16 $) |
Constructor Summary | |
public | InvalidConfigurationException(Class sourceClass, String documentName, String propertyName) | public | InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message) | public | InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, Throwable cause) | public | InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message, Throwable cause) | public | InvalidConfigurationException(String message) | public | InvalidConfigurationException(String message, Throwable cause) |
InvalidConfigurationException | public InvalidConfigurationException(Class sourceClass, String documentName, String propertyName)(Code) | | Constructs this exception with the supplied source, document
and property
Parameters: sourceClass - the source class where the propertyretrieval failed Parameters: documentName - the name of the configuration document which wassupposed to have a valid configuration property Parameters: propertyName - the name of the property that was invalid |
InvalidConfigurationException | public InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message)(Code) | | Constructs an invalid configuration exception
Parameters: sourceClass - the source class of the exception Parameters: documentName - the name of the document that contained theconfiguration Parameters: propertyName - the name of the property that contained invalid data Parameters: message - a message describing why this configuration is not valid |
InvalidConfigurationException | public InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, Throwable cause)(Code) | | Constructs an invalid configuration exception
Parameters: sourceClass - the source class of the exception Parameters: documentName - the name of the document that contained theconfiguration Parameters: propertyName - the name of the property that contained the value Parameters: cause - the exception that caused this configuration to be invalid |
InvalidConfigurationException | public InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message, Throwable cause)(Code) | | Constructs an invalid configuration exception
Parameters: sourceClass - the source class of the exception Parameters: documentName - the name of the document that contained theconfiguration Parameters: propertyName - the name of the property that contained the value Parameters: message - a message describing why this configuration is not valid Parameters: cause - the exception that caused this configuration to be invalid |
InvalidConfigurationException | public InvalidConfigurationException(String message)(Code) | | Parameters: message - string information relating to this exception |
InvalidConfigurationException | public InvalidConfigurationException(String message, Throwable cause)(Code) | | Parameters: message - string information relating to this exception Parameters: cause - a throwable that can be considered the causeof the current exception (used in levelizing exceptions) |
getSeverity | public SeverityEnum getSeverity()(Code) | | Retrieves the severity of this exception. It should be noted that
invalid configurations are a technical failure and not an exposed
business service and therefore have a relatively low severity of
info. If this exception causes a buisnes failure higher up the
stack, that exception should have a more severe exception severity.
this exception's severity |
|
|