public class ConfigException
extends java.lang.Exception
Constructor | Description |
---|---|
ConfigException(ConfigKey<?> key,
java.lang.String msg,
java.lang.Throwable cause) |
Constructor with chained exception.
|
ConfigException(ConfigKey key,
java.lang.String msg) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ConfigKey<?> |
getConfigKey() |
Returns the key whose value this exception applies to.
|
public ConfigException(ConfigKey<?> key, java.lang.String msg, java.lang.Throwable cause)
key
- key whose value was being solicited when the error occurredmsg
- error message, may reference value but should not name keycause
- chained exception, if anypublic ConfigException(ConfigKey key, java.lang.String msg)
key
- key whose value was being solicited when the error occurredmsg
- error message, may reference value but should not name keypublic ConfigKey<?> getConfigKey()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.