public class CmsIllegalStateException extends CmsRuntimeException
IllegalStateException
to obtain fully
localized exception messages for OpenCms.
Please note that this class does not extend
due to
the lack of multiple inheritance for Java.IllegalStateException
m_message
构造器和说明 |
---|
CmsIllegalStateException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsIllegalStateException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a new localized Exception that also containes a root cause.
|
限定符和类型 | 方法和说明 |
---|---|
CmsRuntimeException |
createException(CmsMessageContainer container,
java.lang.Throwable cause)
Creates a copied instance of this localized exception.
|
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainer
public CmsIllegalStateException(CmsMessageContainer container)
container
- the localized message container to usepublic CmsIllegalStateException(CmsMessageContainer container, java.lang.Throwable cause)
container
- the localized message container to usecause
- the Exception root causepublic CmsRuntimeException createException(CmsMessageContainer container, java.lang.Throwable cause)
CmsRuntimeException
createException
在类中 CmsRuntimeException
container
- the message containercause
- the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)