public class InvalidConfigException
extends java.lang.RuntimeException
Constructor and Description |
---|
InvalidConfigException(java.lang.String subjectKey,
java.lang.String subject,
java.lang.String configKey)
Creates a new invalid config exception about a specific config.
|
InvalidConfigException(java.lang.String subjectKey,
java.lang.String subject,
java.lang.String configKey,
java.lang.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 |
---|---|
java.lang.String |
configKey()
Returns the config key of the config.
|
java.lang.String |
subject()
Returns the string representation of the subject of the config.
|
java.lang.String |
subjectKey()
Returns the subject key of the config.
|
public InvalidConfigException(java.lang.String subjectKey, java.lang.String subject, java.lang.String configKey)
subjectKey
- config's subject keysubject
- config's subjectconfigKey
- config's config keypublic InvalidConfigException(java.lang.String subjectKey, java.lang.String subject, java.lang.String configKey, java.lang.Throwable cause)
subjectKey
- config's subject keysubject
- config's subjectconfigKey
- config's config keycause
- cause of the invaliditypublic java.lang.String subjectKey()
public java.lang.String subject()
public java.lang.String configKey()