|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--java.lang.RuntimeException | +--org.sape.carbon.core.exception.BaseRuntimeException | +--org.sape.carbon.core.config.ConfigurationRuntimeException | +--org.sape.carbon.core.config.InvalidConfigurationException
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
Field Summary |
Fields inherited from class org.sape.carbon.core.exception.BaseRuntimeException |
delegatedException |
Fields inherited from class java.lang.RuntimeException |
|
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
InvalidConfigurationException(Class sourceClass,
String documentName,
String propertyName)
Constructs this exception with the supplied source, document and property |
|
InvalidConfigurationException(Class sourceClass,
String documentName,
String propertyName,
String message)
Constructs an invalid configuration exception |
|
InvalidConfigurationException(Class sourceClass,
String documentName,
String propertyName,
String message,
Throwable cause)
Constructs an invalid configuration exception |
|
InvalidConfigurationException(Class sourceClass,
String documentName,
String propertyName,
Throwable cause)
Constructs an invalid configuration exception |
|
InvalidConfigurationException(String message)
Deprecated. Utilize one of the more specific constructors |
|
InvalidConfigurationException(String message,
Throwable cause)
Deprecated. Utilize one of the more specific constructors |
Method Summary | |
SeverityEnum |
getSeverity()
Retrieves the severity of this exception. |
Methods inherited from class org.sape.carbon.core.exception.BaseRuntimeException |
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 |
public InvalidConfigurationException(Class sourceClass, String documentName, String propertyName)
sourceClass
- the source class where the property
retrieval faileddocumentName
- the name of the configuration document which was
supposed to have a valid configuration propertypropertyName
- the name of the property that was invalidpublic InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message)
sourceClass
- the source class of the exceptiondocumentName
- the name of the document that contained the
configurationpropertyName
- the name of the property that contained invalid datamessage
- a message describing why this configuration is not validpublic InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, Throwable cause)
sourceClass
- the source class of the exceptiondocumentName
- the name of the document that contained the
configurationpropertyName
- the name of the property that contained the valuecause
- the exception that caused this configuration to be invalidpublic InvalidConfigurationException(Class sourceClass, String documentName, String propertyName, String message, Throwable cause)
sourceClass
- the source class of the exceptiondocumentName
- the name of the document that contained the
configurationpropertyName
- the name of the property that contained the valuemessage
- a message describing why this configuration is not validcause
- the exception that caused this configuration to be invalidpublic InvalidConfigurationException(String message)
message
- string information relating to this exceptionpublic InvalidConfigurationException(String message, Throwable cause)
message
- string information relating to this exceptioncause
- a throwable that can be considered the cause
of the current exception (used in levelizing exceptions)Method Detail |
public SeverityEnum getSeverity()
getSeverity
in interface Exceptionable
getSeverity
in class ConfigurationRuntimeException
BaseRuntimeException.getSeverity()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |