public class CmsWidgetException extends CmsException
m_message| 构造器和说明 |
|---|
CmsWidgetException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsWidgetException(CmsMessageContainer container,
CmsWidgetDialogParameter 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,
CmsWidgetDialogParameter widget)
Creates a new localized Exception that also containes a root cause.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CmsException |
createException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a copied instance of this localized exception.
|
CmsWidgetDialogParameter |
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, CmsWidgetDialogParameter 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, CmsWidgetDialogParameter 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 在类中 CmsExceptioncontainer - the message containercause - the root causeCmsException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)public CmsWidgetDialogParameter getWidget()
If the widget has not been set, this will return null.