public abstract class ConfigException extends Exception
Constructor and Description |
---|
ConfigException(String msg)
|
ConfigException(String property,
String msg)
Abstract
Config exception calls buildMessage(String, String) to generate a standard
error message for Configuration file errors, passing an empty string for the msg parameter. |
Modifier and Type | Method and Description |
---|---|
protected static String |
buildMessage(String property,
String msg)
Build a standard error message for Configuration file errors.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConfigException(String msg)
msg
- Exception message detailspublic ConfigException(String property, String msg)
Config
exception calls buildMessage(String, String)
to generate a standard
error message for Configuration file errors, passing an empty string for the msg parameter.property
- Config
property namemsg
- Exception type