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
public class ConfigurationException extends RuntimeException implements ConfigurationProblem
An exception indicating that a configuration failure has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(String msg)
Constructs 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getConfigKeys()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException(Set<String> configKeys)
Constructs a newConfigurationException
instance. The message is left blank (null
), and no cause is specified.- Parameters:
configKeys
-
-
ConfigurationException
public ConfigurationException(String msg)
Constructs a newConfigurationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ConfigurationException
public ConfigurationException(String msg, Set<String> configKeys)
Constructs a newConfigurationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the messageconfigKeys
-
-
ConfigurationException
public ConfigurationException(Throwable cause, Set<String> configKeys)
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
public ConfigurationException(String msg, Throwable cause)
Constructs a newConfigurationException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the cause
-
ConfigurationException
public ConfigurationException(String msg, Throwable cause, Set<String> configKeys)
Constructs a newConfigurationException
instance with an initial message and cause.- Parameters:
msg
- the messagecause
- the causeconfigKeys
-
-
ConfigurationException
public ConfigurationException(Throwable cause)
-
-
Method Detail
-
getConfigKeys
public Set<String> getConfigKeys()
- Specified by:
getConfigKeys
in interfaceConfigurationProblem
-
-