org.apache.webbeans.exception
Class WebBeansException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.webbeans.exception.WebBeansException
All Implemented Interfaces:
Serializable, DescriptiveException
Direct Known Subclasses:
WebBeansCreationException

public class WebBeansException
extends RuntimeException
implements DescriptiveException

See Also:
Serialized Form

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

WebBeansException

public WebBeansException(String message)

WebBeansException

public WebBeansException(Throwable e)

WebBeansException

public WebBeansException(String message,
                         Throwable e)
Method Detail

getCause

public Throwable getCause()
Overrides:
getCause in class Throwable

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.