| java.lang.Object java.lang.Throwable java.lang.Exception org.opencms.main.CmsException
All known Subclasses: org.opencms.main.CmsMultiException, org.opencms.scheduler.CmsSchedulerException, org.opencms.workplace.CmsWorkplaceException, org.opencms.file.CmsDataAccessException, org.opencms.publish.CmsPublishException, org.opencms.security.CmsSecurityException, org.opencms.configuration.CmsConfigurationException, org.opencms.importexport.CmsImportExportException, org.opencms.main.CmsResourceInitException, org.opencms.loader.CmsLoaderException, org.opencms.staticexport.CmsStaticExportException, org.opencms.util.CmsRfsException, org.opencms.i18n.CmsMessageException, org.opencms.widgets.CmsWidgetException, org.opencms.lock.CmsLockException, org.opencms.search.CmsIndexException, org.opencms.flex.CmsFlexCacheException, org.opencms.search.CmsSearchException, org.opencms.xml.CmsXmlException, org.opencms.synchronize.CmsSynchronizeException, org.opencms.security.CmsPasswordEncryptionException,
CmsException | public class CmsException extends Exception implements I_CmsThrowable(Code) | | Master exception type for all exceptions caused in OpenCms.
author: Alexander Kandzior author: Michael Emmerich author: Michael Moossen author: Jan Baudisch version: $Revision: 1.39 $ since: 6.0.0 |
CmsException | public CmsException(CmsMessageContainer message)(Code) | | Creates a new localized Exception.
Parameters: message - the localized message container to use |
CmsException | public CmsException(CmsMessageContainer message, Throwable cause)(Code) | | Creates a new localized Exception that also containes a root cause.
Parameters: message - the localized message container to use Parameters: cause - the Exception root cause |
createException | public CmsException createException(CmsMessageContainer container, Throwable cause)(Code) | | Creates a copied instance of this localized exception.
Parameters: container - the message container Parameters: cause - the root cause a copied instance of this localized exception |
getFormattedErrorstack | public static String getFormattedErrorstack(Throwable t)(Code) | | Returns the HTML formatted error stack of a Throwable.
The error stack is used by the common error screen
that is displayed if an error occurs.
Parameters: t - the throwable to get the errorstack from the formatted value of the errorstack parameter |
getStackTraceAsString | public static String getStackTraceAsString(Throwable e)(Code) | | Returns the stack trace (including the message) of an exception as a String.
If the exception is a CmsException,
also writes the root cause to the String.
Parameters: e - the exception to get the stack trace from the stack trace of an exception as a String |
|
|