Package org.apache.webbeans.exception
Class WebBeansException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- 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
Constructors Constructor Description WebBeansException(String message)WebBeansException(String message, Throwable e)WebBeansException(Throwable e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInformation(String additionalInformation)Add some additional information to the message.ThrowablegetCause()StringgetLocalizedMessage()StringgetMessage()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
addInformation
public void addInformation(String additionalInformation)
Description copied from interface:DescriptiveExceptionAdd some additional information to the message.- Specified by:
addInformationin interfaceDescriptiveException
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
-