public class ConfigMappingException extends ConfigException
Thrown when there is an error mapping a String
configuration
value to a specific Java type.
Constructor | Description |
---|---|
ConfigMappingException(Config.Key key,
java.lang.Class<?> type,
java.lang.String detail) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.Class<?> type,
java.lang.String detail,
java.lang.Throwable cause) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String detail) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String value,
java.lang.Class<?> type,
java.lang.Throwable cause) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String value,
java.lang.String detail,
java.lang.Throwable cause) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
ConfigMappingException(Config.Key key,
java.lang.String detail,
java.lang.Throwable cause) |
Create new configuration value mapping exception with additional contextual details describing the failure.
|
public ConfigMappingException(Config.Key key, java.lang.String detail)
key
- key associated with the mapped configuration value.detail
- detailed information of mapping failure.public ConfigMappingException(Config.Key key, java.lang.String detail, java.lang.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, java.lang.Class<?> type, java.lang.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, java.lang.Class<?> type, java.lang.String detail, java.lang.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, java.lang.String value, java.lang.Class<?> type, java.lang.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, java.lang.String value, java.lang.String detail, java.lang.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 Oracle Corporation. All rights reserved.