public class InvalidConfigException extends RuntimeException
| Constructor and Description | 
|---|
InvalidConfigException(String subjectKey,
                      String subject,
                      String configKey)
Creates a new invalid config exception about a specific config. 
 | 
InvalidConfigException(String subjectKey,
                      String subject,
                      String configKey,
                      Throwable cause)
Creates a new invalid config exception about a specific config with an
 exception regarding the cause of the invalidity. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
configKey()
Returns the config key of the config. 
 | 
String | 
subject()
Returns the string representation of the subject of the config. 
 | 
String | 
subjectKey()
Returns the subject key of the config. 
 | 
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidConfigException(String subjectKey, String subject, String configKey)
subjectKey - config's subject keysubject - config's subjectconfigKey - config's config keypublic InvalidConfigException(String subjectKey, String subject, String configKey, Throwable cause)
subjectKey - config's subject keysubject - config's subjectconfigKey - config's config keycause - cause of the invaliditypublic String subjectKey()
public String subject()
public String configKey()