public class ConfigMappingException extends ConfigException
Thrown when there is an error mapping a String configuration
value to a specific Java type.
| Constructor and Description |
|---|
ConfigMappingException(Config.Key key,
String detail)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
String value,
Class<?> type,
Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
String value,
String detail,
Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
String detail,
Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
Type type,
String detail)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
Type type,
String detail,
Throwable cause)
Create new configuration value mapping exception with additional contextual details describing the failure.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ConfigMappingException(Config.Key key, String detail)
key - key associated with the mapped configuration value.detail - detailed information of mapping failure.public ConfigMappingException(Config.Key key, String detail, Throwable cause)
key - key associated with the mapped configuration value.detail - detailed information of mapping failure.cause - root exception cause.public ConfigMappingException(Config.Key key, Type type, String detail)
key - key associated with the mapped configuration value.type - requested mapping type.detail - detailed information of mapping failure.public ConfigMappingException(Config.Key key, Type type, String detail, Throwable cause)
key - key associated with the mapped configuration value.type - requested mapping type.detail - detailed information about the configuration value mapping failure.cause - root exception cause.public ConfigMappingException(Config.Key key, String value, Class<?> type, Throwable cause)
key - key associated with the mapped configuration value.value - mapped configuration value.type - requested mapping type.cause - root exception cause.public ConfigMappingException(Config.Key key, String value, String detail, Throwable cause)
key - key associated with the mapped configuration value.value - mapped configuration value.detail - detailed information about the configuration value mapping failure.cause - root exception cause.Copyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.