public class CmsSecurityException extends CmsException
A security released issue impies that the operation attempted can be executed in general, but that the current user who attemted it does not have the required permissions at the current time.
m_message
构造器和说明 |
---|
CmsSecurityException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsSecurityException(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, getStackTraceAsString
public CmsSecurityException(CmsMessageContainer container)
container
- the localized message container to usepublic CmsSecurityException(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)
CmsException
createException
在类中 CmsException
container
- the message containercause
- the root causeCmsException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)