Class ConfigurationDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.commons.configuration2.ex.ConfigurationRuntimeException
org.apache.commons.configuration2.ex.ConfigurationDeniedException
- All Implemented Interfaces:
Serializable
Thrown when an application only grants specific configurations for elements like URL schemes and hosts.
- Since:
- 2.15.0
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationDeniedException(String message, Object... args) Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...).ConfigurationDeniedException(Throwable cause, String message, Object... args) Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...)and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigurationDeniedException
Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...).- Parameters:
message- the error message.args- arguments to the error message.- See Also:
-
ConfigurationDeniedException
Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...)and cause.- Parameters:
cause- the cause.message- the error message.args- arguments to the error message.- See Also:
-