java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.helidon.common.config.ConfigException
io.helidon.config.ConfigException
io.helidon.config.ConfigMappingException
- All Implemented Interfaces:
Serializable
Configuration value mapping exception.
Thrown when there is an error mapping a String
configuration
value to a specific Java type.
- See Also:
-
Constructor Summary
ConstructorDescriptionConfigMappingException
(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.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. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
key
- key associated with the mapped configuration value.detail
- detailed information of mapping failure.
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
key
- key associated with the mapped configuration value.detail
- detailed information of mapping failure.cause
- root exception cause.
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
key
- key associated with the mapped configuration value.type
- requested mapping type.detail
- detailed information of mapping failure.
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
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.
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
key
- key associated with the mapped configuration value.value
- mapped configuration value.type
- requested mapping type.cause
- root exception cause.
-
ConfigMappingException
Create new configuration value mapping exception with additional contextual details describing the failure.- Parameters:
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.
-