public class CmsInitException extends CmsRuntimeException
If an Exception of this class is thrown, OpenCms is set to an error state and the system won't try to start up again.
m_message| 构造器和说明 |
|---|
CmsInitException(CmsMessageContainer container)
Creates a new localized Exception.
|
CmsInitException(CmsMessageContainer container,
boolean newError)
Creates a new localized Exception.
|
CmsInitException(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.
|
boolean |
isNewError()
Indicates that this exception describes a new error that was not already logged.
|
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainerpublic CmsInitException(CmsMessageContainer container)
container - the localized message container to usepublic CmsInitException(CmsMessageContainer container, boolean newError)
container - the localized message container to usenewError - indicates that the error is new, and OpenCms should be stoppedpublic CmsInitException(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 在类中 CmsRuntimeExceptioncontainer - the message containercause - the root causeCmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)public boolean isNewError()
true if this exception describes a new error that was not already logged