|
||||||||
| 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,
Throwable cause)
Creates a new localized Exception that also containes a root cause. |
|
CmsWidgetException(CmsMessageContainer container,
Throwable cause,
CmsWidgetDialogParameter widget)
Creates a new localized Exception that also containes a root cause. |
|
| Method Summary | |
|---|---|
CmsException |
createException(CmsMessageContainer container,
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 use
public CmsWidgetException(CmsMessageContainer container,
CmsWidgetDialogParameter widget)
container - the localized message container to usewidget - the widget that caused the error
public CmsWidgetException(CmsMessageContainer container,
Throwable cause)
container - the localized message container to usecause - the Exception root cause
public CmsWidgetException(CmsMessageContainer container,
Throwable cause,
CmsWidgetDialogParameter widget)
container - the localized message container to usecause - the Exception root causewidget - the widget that caused the error| Method Detail |
|---|
public CmsException createException(CmsMessageContainer container,
Throwable cause)
CmsException
createException in class CmsExceptioncontainer - 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 | |||||||