public class CmsRoleViolationException extends CmsSecurityException
m_message| 构造器和说明 |
|---|
CmsRoleViolationException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsRoleViolationException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a new localized Exception that also containes a root cause.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CmsException |
createException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a copied instance of this localized exception.
|
getFormattedErrorstack, getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainer, getStackTraceAsStringpublic CmsRoleViolationException(CmsMessageContainer container)
container - the localized message container to usepublic CmsRoleViolationException(CmsMessageContainer container, java.lang.Throwable cause)
container - the localized message container to usecause - the Exception root causepublic CmsException createException(CmsMessageContainer container, java.lang.Throwable cause)
CmsExceptioncreateException 在类中 CmsSecurityExceptioncontainer - the message containercause - the root causeCmsException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)