public class CmsWidgetException extends CmsException
m_message| Constructor and Description |
|---|
CmsWidgetException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsWidgetException(CmsMessageContainer container,
java.lang.Object widget)
Creates a new localized Exception.
|
CmsWidgetException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a new localized Exception that also containes a root cause.
|
CmsWidgetException(CmsMessageContainer container,
java.lang.Throwable cause,
java.lang.Object widget)
Creates a new localized Exception that also containes a root cause.
|
| Modifier and Type | Method and Description |
|---|---|
CmsException |
createException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a copied instance of this localized exception.
|
java.lang.Object |
getWidget()
Returns the widget that caused the error.
|
getFormattedErrorstack, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainer, getStackTraceAsStringpublic CmsWidgetException(CmsMessageContainer container)
container - the localized message container to usepublic CmsWidgetException(CmsMessageContainer container, java.lang.Object widget)
container - the localized message container to usewidget - the widget that caused the errorpublic CmsWidgetException(CmsMessageContainer container, java.lang.Throwable cause)
container - the localized message container to usecause - the Exception root causepublic CmsWidgetException(CmsMessageContainer container, java.lang.Throwable cause, java.lang.Object widget)
container - the localized message container to usecause - the Exception root causewidget - the widget that caused the errorpublic CmsException createException(CmsMessageContainer container, java.lang.Throwable cause)
CmsExceptioncreateException in class CmsExceptioncontainer - the message containercause - the root causeCmsException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)public java.lang.Object getWidget()
If the widget has not been set, this will return null.