Package org.apache.webbeans.exception
Class WebBeansConfigurationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- jakarta.enterprise.inject.spi.DefinitionException
-
- org.apache.webbeans.exception.WebBeansConfigurationException
-
- All Implemented Interfaces:
Serializable,DescriptiveException
public class WebBeansConfigurationException extends jakarta.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
Constructors Constructor Description WebBeansConfigurationException(String message)WebBeansConfigurationException(String message, Throwable e)WebBeansConfigurationException(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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, 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
-
-