org.jvnet.hk2.config
Class ConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.glassfish.hk2.ComponentException
                  extended by org.jvnet.hk2.component.ComponentException
                      extended by org.jvnet.hk2.config.ConfigurationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TranslationException

public class ConfigurationException
extends ComponentException

Indicates a problem in the configuration value.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
ConfigurationException(String message)
           
ConfigurationException(String message, Throwable origin)
           
 
Method Summary
 Location getLocation()
          Indicates the source position of the configuration file where the problem happened.
 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
 

Constructor Detail

ConfigurationException

public ConfigurationException(String message)

ConfigurationException

public ConfigurationException(String message,
                              Throwable origin)
Method Detail

getLocation

public Location getLocation()
Indicates the source position of the configuration file where the problem happened.


getMessage

public String getMessage()
Overrides:
getMessage in class Throwable


Copyright © 2013 Oracle Corporation. All Rights Reserved.