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
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
in class CmsRuntimeException
container
- the message containercause
- the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)