Package org.apache.webbeans.exception
Class WebBeansCreationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.webbeans.exception.WebBeansException
-
- org.apache.webbeans.exception.WebBeansCreationException
-
- All Implemented Interfaces:
Serializable,DescriptiveException
public class WebBeansCreationException extends WebBeansException
Exception that is thrown by the web beans container at the deployment time.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebBeansCreationException(String message)WebBeansCreationException(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.StringgetLocalizedMessage()StringgetMessage()-
Methods inherited from class org.apache.webbeans.exception.WebBeansException
getCause
-
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- Overrides:
addInformationin classWebBeansException
-
getMessage
public String getMessage()
- Overrides:
getMessagein classWebBeansException
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classWebBeansException
-
-