Serializable
public class MissingParameterException extends ConfigurationException
Constructor | Description |
---|---|
MissingParameterException(String key) |
Key constructor.
|
MissingParameterException(String message,
String key) |
Message and key constructor.
|
MissingParameterException(String message,
String key,
Throwable cause) |
Message and cause constructor.
|
MissingParameterException(String key,
Throwable cause) |
Cause constructor.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getKey() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public MissingParameterException(@Nonnull String key)
key
- The key of the configuration parameter that was not found.public MissingParameterException(@Nullable String message, @Nonnull String key)
message
- An explanation of why the input could not be parsed, or null
if a default message should be used.key
- The key of the configuration parameter that was not found.public MissingParameterException(@Nonnull String key, @Nullable Throwable cause)
key
- The key of the configuration parameter that was not found.cause
- The cause error or null
if the cause is nonexistent or unknown.public MissingParameterException(@Nullable String message, @Nonnull String key, @Nullable Throwable cause)
message
- An explanation of why the input could not be parsed, or null
if a default message should be used.key
- The key of the configuration parameter that was not found.cause
- The cause error or null
if the cause is nonexistent or unknown.public String getKey()
Copyright © 2018 GlobalMentor, Inc.. All rights reserved.