Package io.confound.config
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IllegalStateException
-
- io.confound.config.ConfigurationException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
MissingConfigurationKeyException
public class ConfigurationException extends java.lang.IllegalStateException
An unchecked illegal state exception to indicate that the system is not configured correctly for some operation. For example, this exception might be thrown if no appropriate parser is available or a particular character encoding is not supported.- Author:
- Garret Wilson
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException()
No-argument constructor.ConfigurationException(java.lang.String message)
Message constructor.ConfigurationException(java.lang.String message, java.lang.Throwable cause)
Message and cause constructor.ConfigurationException(java.lang.Throwable cause)
Cause constructor.
-
-
-
Constructor Detail
-
ConfigurationException
public ConfigurationException()
No-argument constructor.
-
ConfigurationException
public ConfigurationException(@Nullable java.lang.String message)
Message constructor.- Parameters:
message
- An explanation of why the input could not be parsed, ornull
if no message should be used.
-
ConfigurationException
public ConfigurationException(@Nullable java.lang.Throwable cause)
Cause constructor. The message of the cause will be used if available.- Parameters:
cause
- The cause error ornull
if the cause is nonexistent or unknown.
-
ConfigurationException
public ConfigurationException(@Nullable java.lang.String message, @Nullable java.lang.Throwable cause)
Message and cause constructor.- Parameters:
message
- An explanation of why the input could not be parsed, ornull
if a no message should be used.cause
- The cause error ornull
if the cause is nonexistent or unknown.
-
-