Package org.onosproject.net.config
Class InvalidConfigException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- org.onosproject.net.config.InvalidConfigException
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class InvalidConfigException extends RuntimeException Indicates an invalid configuration was supplied by the user.- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StringconfigKey()Returns the config key of the config.Stringsubject()Returns the string representation of the subject of the config.StringsubjectKey()Returns the subject key of the config.- 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
InvalidConfigExceptionpublic InvalidConfigException(String subjectKey, String subject, String configKey) Creates a new invalid config exception about a specific config.- Parameters:
- subjectKey- config's subject key
- subject- config's subject
- configKey- config's config key
 
 - 
InvalidConfigExceptionpublic 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.- Parameters:
- subjectKey- config's subject key
- subject- config's subject
- configKey- config's config key
- cause- cause of the invalidity
 
 
- 
 - 
Method Detail- 
subjectKeypublic String subjectKey() Returns the subject key of the config.- Returns:
- subject key
 
 - 
subjectpublic String subject() Returns the string representation of the subject of the config.- Returns:
- subject
 
 - 
configKeypublic String configKey() Returns the config key of the config.- Returns:
- config key
 
 
- 
 
-