org.jvnet.hk2.config
Class ConfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jvnet.hk2.component.ComponentException
org.jvnet.hk2.config.ConfigurationException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TranslationException
public class ConfigurationException
- extends org.jvnet.hk2.component.ComponentException
Indicates a problem in the configuration value.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
|
Method Summary |
javax.xml.stream.Location |
getLocation()
Indicates the source position of the configuration file
where the problem happened. |
java.lang.String |
getMessage()
|
| Methods inherited from class org.jvnet.hk2.component.ComponentException |
getFailureContext |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConfigurationException
public ConfigurationException(java.lang.String message)
ConfigurationException
public ConfigurationException(java.lang.String message,
java.lang.Throwable origin)
getLocation
public javax.xml.stream.Location getLocation()
- Indicates the source position of the configuration file
where the problem happened.
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage in class java.lang.Throwable
Copyright © 2012 Oracle Corporation. All Rights Reserved.