Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.sling.commons.log.logback.internal.config.ConfigurationException
- All Implemented Interfaces:
Serializable
Exception for any errors encountered while utilizing any
properties for configuration services
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationException(@NotNull String property, @NotNull String reason) ConstructorConfigurationException(@NotNull String property, @NotNull String reason, @Nullable Throwable cause) Constructor -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationException
Constructor- Parameters:
property- the property that was invalidreason- the reason that the property value was invalid
-
ConfigurationException
public ConfigurationException(@NotNull @NotNull String property, @NotNull @NotNull String reason, @Nullable @Nullable Throwable cause) Constructor- Parameters:
property- the property that was invalidreason- the reason that the property value was invalidcause- the exception that caused the failure
-
-
Method Details
-
getProperty
The property that was invalid- Returns:
- the property name that caused the failure
-
getReason
The reason that the property value was invalid- Returns:
- the reason that the property was invalid
-