Package org.opencms.main
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
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
-
-