org.opencms.main
Interface I_CmsThrowable
- All Known Implementing Classes:
- CmsAuthentificationException, CmsConfigurationException, CmsDataAccessException, CmsDataNotImplementedException, CmsDbConsistencyException, CmsDbEntryAlreadyExistsException, CmsDbEntryNotFoundException, CmsDbException, CmsDbIoException, CmsDbKeyException, CmsDbSqlException, CmsException, CmsFlexCacheException, CmsIllegalArgumentException, CmsIllegalStateException, CmsImportExportException, CmsIndexException, CmsInitException, CmsLoaderException, CmsLockException, CmsMessageException, CmsMultiException, 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
- Version:
- $Revision: 1.9 $
- Author:
- Alexander Kandzior
Method Summary |
java.lang.String |
getLocalizedMessage()
Returns a localized exception message based on the OpenCms default locale. |
java.lang.String |
getLocalizedMessage(java.util.Locale locale)
Returns a localized exception message based on the given Locale. |
java.lang.String |
getMessage()
Returns a localized exception message based on the OpenCms default locale. |
CmsMessageContainer |
getMessageContainer()
Returns the localized message container used to build this localized exception. |
getLocalizedMessage
java.lang.String 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:
Throwable.getLocalizedMessage()
getLocalizedMessage
java.lang.String getLocalizedMessage(java.util.Locale locale)
- 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
java.lang.String 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:
Throwable.getMessage()
getMessageContainer
CmsMessageContainer getMessageContainer()
- Returns the localized message container used to build this localized exception.
- Returns:
- the localized message container used to build this localized exception