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:
Serializable
public class ConfigurationException extends RuntimeException
An exception indicating that a configuration failure has occurred.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException()
Constructs a newConfigurationException
instance.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(Throwable cause)
Constructs a newConfigurationException
instance with an initial cause.
-
Method Summary
-
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()
Constructs a newConfigurationException
instance. The message is left blank (null
), and no cause is specified.
-
ConfigurationException
public ConfigurationException(String msg)
Constructs a newConfigurationException
instance with an initial message. No cause is specified.- Parameters:
msg
- the message
-
ConfigurationException
public ConfigurationException(Throwable cause)
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 cause
-
-