|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opencms.main.CmsRuntimeException
org.opencms.main.CmsInitException
public class CmsInitException
Describes errors that occur in the context of OpenCms the initialization, this is fatal and prevents OpenCms from starting.
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.
Field Summary |
---|
Fields inherited from class org.opencms.main.CmsRuntimeException |
---|
m_message |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.opencms.main.CmsRuntimeException |
---|
getLocalizedMessage, getLocalizedMessage, getMessage, getMessageContainer |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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 causeMethod Detail |
---|
public CmsRuntimeException createException(CmsMessageContainer container, java.lang.Throwable cause)
CmsRuntimeException
createException
in class CmsRuntimeException
container
- the message containercause
- the root cause
CmsRuntimeException.createException(org.opencms.i18n.CmsMessageContainer, java.lang.Throwable)
public boolean isNewError()
true
if this exception describes a new error that was not already logged
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |