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:
java.io.Serializable
public class ConfigurationDeniedException extends ConfigurationRuntimeException
Thrown when an application only grants specific configurations for elements like URL schemes and hosts.- Since:
- 2.15.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationDeniedException(java.lang.String message, java.lang.Object... args)Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...).ConfigurationDeniedException(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...)and cause.
-
-
-
Constructor Detail
-
ConfigurationDeniedException
public ConfigurationDeniedException(java.lang.String message, java.lang.Object... args)Constructs a newConfigurationDeniedExceptionwith specified detail message usingString.format(String,Object...).- Parameters:
message- the error message.args- arguments to the error message.- See Also:
String.format(String,Object...)
-
ConfigurationDeniedException
public ConfigurationDeniedException(java.lang.Throwable cause, java.lang.String message, java.lang.Object... args)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:
String.format(String,Object...)
-
-