|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opencms.main.CmsException
org.opencms.widgets.CmsWidgetException
public class CmsWidgetException
Describes errors that occur in the context of the OpenCms widgets.
Field Summary |
---|
Fields inherited from class org.opencms.main.CmsException |
---|
m_message |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opencms.main.CmsException |
---|
getFormattedErrorstack, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainer, getStackTraceAsString |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public 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 errorMethod Detail |
---|
public CmsException createException(CmsMessageContainer container, java.lang.Throwable cause)
CmsException
createException
in class CmsException
container
- the message containercause
- the root cause
CmsException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)
public CmsWidgetDialogParameter getWidget()
If the widget has not been set, this will return null
.
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |