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:
ConfigurationProblem
,Serializable
An exception indicating that a configuration failure has occurred.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newConfigurationException
instance with an initial message.ConfigurationException
(String msg, Throwable cause) Constructs a newConfigurationException
instance with an initial message and cause.ConfigurationException
(String msg, Throwable cause, Set<String> configKeys) Constructs a newConfigurationException
instance with an initial message and cause.ConfigurationException
(String msg, Set<String> configKeys) Constructs a newConfigurationException
instance with an initial message.ConfigurationException
(Throwable cause) ConfigurationException
(Throwable cause, Set<String> configKeys) Constructs a newConfigurationException
instance with an initial cause.ConfigurationException
(Set<String> configKeys) Constructs a newConfigurationException
instance. -
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 newConfigurationException
instance. The message is left blank (null
), and no cause is specified.- Parameters:
configKeys
-
-
ConfigurationException
Constructs a newConfigurationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ConfigurationException
Constructs a newConfigurationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the messageconfigKeys
-
-
ConfigurationException
Constructs a newConfigurationException
instance with an initial cause. If a non-null
cause 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 newConfigurationException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the cause
-
ConfigurationException
Constructs a newConfigurationException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the causeconfigKeys
-
-
ConfigurationException
-
-
Method Details
-
getConfigKeys
- Specified by:
getConfigKeys
in interfaceConfigurationProblem
-