public class CmsIllegalArgumentException extends CmsRuntimeException
IllegalArgumentException 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.IllegalArgumentException
m_message| Constructor and Description |
|---|
CmsIllegalArgumentException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsIllegalArgumentException(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, getMessageContainerpublic CmsIllegalArgumentException(CmsMessageContainer container)
container - the localized message container to usepublic CmsIllegalArgumentException(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)
CmsRuntimeExceptioncreateException in class CmsRuntimeExceptioncontainer - the message containercause - the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)