org.apache.webbeans.exception
Class WebBeansConfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by javax.enterprise.inject.spi.DefinitionException
                  extended by org.apache.webbeans.exception.WebBeansConfigurationException
All Implemented Interfaces:
Serializable, DescriptiveException

public class WebBeansConfigurationException
extends javax.enterprise.inject.spi.DefinitionException
implements DescriptiveException

Exception that is thrown by the web beans container at the intialization time. This is the OWB implementation of the DefinitionException.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
WebBeansConfigurationException(String message)
           
WebBeansConfigurationException(String message, Throwable e)
           
WebBeansConfigurationException(Throwable e)
           
 
Method Summary
 void addInformation(String additionalInformation)
          Add some additional information to the message.
 String getLocalizedMessage()
           
 String getMessage()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, 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

WebBeansConfigurationException

public WebBeansConfigurationException(String message)

WebBeansConfigurationException

public WebBeansConfigurationException(Throwable e)

WebBeansConfigurationException

public WebBeansConfigurationException(String message,
                                      Throwable e)
Method Detail

addInformation

public void addInformation(String additionalInformation)
Description copied from interface: DescriptiveException
Add some additional information to the message.

Specified by:
addInformation in interface DescriptiveException

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getLocalizedMessage

public String getLocalizedMessage()
Overrides:
getLocalizedMessage in class Throwable


Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.