Package com.nimbusds.common.config
Class ConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.nimbusds.common.config.ConfigurationException
-
- All Implemented Interfaces:
Serializable
public class ConfigurationException extends RuntimeException
Thrown to indicate a configuration exception. This class is intended to report invalid or missing configuration parameters at service startup.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConfigurationException(String message)
Creates a new configuration exception with the specified message.ConfigurationException(String message, Throwable cause)
Creates a new configuration exception with the specified message and 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(String message)
Creates a new configuration exception with the specified message.- Parameters:
message
- The exception message.
-
ConfigurationException
public ConfigurationException(String message, Throwable cause)
Creates a new configuration exception with the specified message and cause.- Parameters:
message
- The exception message.cause
- The exception cause.
-
-