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, getMessageContainer
public 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)
CmsRuntimeException
createException
in class CmsRuntimeException
container
- the message containercause
- the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)