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
构造器和说明 |
---|
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.
|
限定符和类型 | 方法和说明 |
---|---|
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
在类中 CmsRuntimeException
container
- the message containercause
- the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)