public class ConfigException extends Exception
Constructor and Description |
---|
ConfigException(ConfigKey<?> key,
String msg)
Constructor.
|
ConfigException(ConfigKey<?> key,
String msg,
Throwable cause)
Constructor with chained exception.
|
Modifier and Type | Method and Description |
---|---|
ConfigKey<?> |
getConfigKey()
Returns the key whose value this exception applies to.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConfigException(ConfigKey<?> key, String msg, 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 ConfigKey<?> getConfigKey()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.