Interface I_CmsThrowable

All Known Implementing Classes:
CmsAuthentificationException, CmsConfigurationException, CmsCustomLoginException, CmsDataAccessException, CmsDataNotImplementedException, CmsDbConsistencyException, CmsDbEntryAlreadyExistsException, CmsDbEntryNotFoundException, CmsDbException, CmsDbIoException, CmsDbKeyException, CmsDbSqlException, CmsException, CmsFlexCacheException, CmsIllegalArgumentException, CmsIllegalStateException, CmsImportExportException, CmsIndexException, CmsIndexNoContentException, CmsInitException, CmsInvalidActionException, CmsLoaderException, CmsLockException, CmsMessageException, CmsMultiException, CmsNewParentNotInWorkflowException, CmsPasswordEncryptionException, CmsPermissionViolationException, CmsPublishException, CmsResourceInitException, CmsRfsException, CmsRoleViolationException, CmsRuntimeException, CmsSchedulerException, CmsSearchException, CmsSecurityException, CmsStaticExportException, CmsSynchronizeException, CmsUserDisabledException, CmsVfsException, CmsVfsOnlineResourceAlreadyExistsException, CmsVfsResourceAlreadyExistsException, CmsVfsResourceNotFoundException, CmsWidgetException, CmsWorkplaceException, CmsXmlException

public interface I_CmsThrowable
Provides localized Exception handling based on the OpenCms default locale.

Instances of this class are assumed to have full localized exception messages.

Since:
6.0.0
  • Method Details

    • getLocalizedMessage

      Returns a localized exception message based on the OpenCms default locale.

      Returns:
      a localized exception message based on the OpenCms default locale
      See Also:
    • getLocalizedMessage

      Returns a localized exception message based on the given Locale.

      Parameters:
      locale - the Locale to get the message for
      Returns:
      a localized exception message based on the given Locale
    • getMessage

      Returns a localized exception message based on the OpenCms default locale.

      Returns:
      a localized exception message based on the OpenCms default locale
      See Also:
    • getMessageContainer

      Returns the localized message container used to build this localized exception.

      Returns:
      the localized message container used to build this localized exception