public class ConfigException
extends java.lang.Exception
Constructor and 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 and 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 © 2017 Central Laboratory of the Research Councils. All Rights Reserved.