public class ConfigurationException extends ValidationException
| Constructor and Description |
|---|
ConfigurationException(String key)
Constructs a new configuration exception for the key with the specified detail message.
|
ConfigurationException(String message,
String key)
Constructs a new configuration exception for the key with the specified detail message.
|
ConfigurationException(String message,
Throwable cause,
String key)
Constructs a new configuration exception for the key with the specified detail message and cause.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Gets the
key that represented unique ID for configuration value. |
getError, getMessageaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConfigurationException(String key)
key - the key value - parameter name.public ConfigurationException(String message, String key)
message - the detail message. The detail message is saved for later retrieval
by the IntegrationException.getMessage() method.key - the key value - parameter name.public ConfigurationException(String message, Throwable cause, String key)
Note that the detail message associated with cause is not automatically incorporated
in this configuration exception's detail message.
message - the detail message. The detail message is saved for later retrieval
by the IntegrationException.getMessage() method.cause - the cause (which is saved for later retrieval by the Throwable.getCause() method).
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)key - the key value - parameter name.public String getKey()
key that represented unique ID for configuration value.Copyright © 2018 Pivotal Software, Inc.. All rights reserved.