Package io.dropwizard.configuration
Class UndefinedEnvironmentVariableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.dropwizard.configuration.UndefinedEnvironmentVariableException
-
- All Implemented Interfaces:
Serializable
public class UndefinedEnvironmentVariableException extends RuntimeException
An exception thrown, if a variable cannot be replaced by anEnvironmentVariableSubstitutor
because no value is provided.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UndefinedEnvironmentVariableException(String errorMessage)
Constructs a new exception with the given error message.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
UndefinedEnvironmentVariableException
public UndefinedEnvironmentVariableException(String errorMessage)
Constructs a new exception with the given error message.- Parameters:
errorMessage
- the error message
-
-