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
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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, getMessageContainer
public 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)
CmsRuntimeException
createException
in class CmsRuntimeException
container
- 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