Package io.quarkus.runtime.configuration
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.quarkus.runtime.configuration.ConfigurationException
- All Implemented Interfaces:
io.quarkus.dev.config.ConfigurationProblem,Serializable
public class ConfigurationException
extends RuntimeException
implements io.quarkus.dev.config.ConfigurationProblem
An exception indicating that a configuration failure has occurred.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConfigurationExceptioninstance with an initial message.ConfigurationException(String msg, Throwable cause) Constructs a newConfigurationExceptioninstance with an initial message and cause.ConfigurationException(String msg, Throwable cause, Set<String> configKeys) Constructs a newConfigurationExceptioninstance with an initial message and cause.ConfigurationException(String msg, Set<String> configKeys) Constructs a newConfigurationExceptioninstance with an initial message.ConfigurationException(Throwable cause) ConfigurationException(Throwable cause, Set<String> configKeys) Constructs a newConfigurationExceptioninstance with an initial cause.ConfigurationException(Set<String> configKeys) Constructs a newConfigurationExceptioninstance. -
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
Constructs a newConfigurationExceptioninstance. The message is left blank (null), and no cause is specified.- Parameters:
configKeys-
-
ConfigurationException
Constructs a newConfigurationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the message
-
ConfigurationException
Constructs a newConfigurationExceptioninstance with an initial message. No cause is specified.- Parameters:
msg- the messageconfigKeys-
-
ConfigurationException
Constructs a newConfigurationExceptioninstance with an initial cause. If a non-nullcause is specified, its message is used to initialize the message of thisConfigurationException; otherwise the message is left blank (null).- Parameters:
cause- the causeconfigKeys-
-
ConfigurationException
Constructs a newConfigurationExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the cause
-
ConfigurationException
Constructs a newConfigurationExceptioninstance with an initial message and cause.- Parameters:
msg- the messagecause- the causeconfigKeys-
-
ConfigurationException
-
-
Method Details
-
getConfigKeys
- Specified by:
getConfigKeysin interfaceio.quarkus.dev.config.ConfigurationProblem
-