org.jvnet.hk2.config
Class TranslationException

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
                          extended by org.jvnet.hk2.config.TranslationException
All Implemented Interfaces:
Serializable

public class TranslationException
extends ConfigurationException

Indicates a failure in Translator.translate(String).

This is an user error, so must be reported nicely.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Constructor Summary
TranslationException(String message)
           
TranslationException(String message, Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.jvnet.hk2.config.ConfigurationException
getLocation, 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

TranslationException

public TranslationException(String message)

TranslationException

public TranslationException(String message,
                            Throwable cause)


Copyright © 2013 Oracle Corporation. All Rights Reserved.