Class CfgRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.directory.fortress.core.BaseRuntimeException
-
- org.apache.directory.fortress.core.CfgRuntimeException
-
- All Implemented Interfaces:
Serializable
public class CfgRuntimeException extends BaseRuntimeException
This exception extendsBaseRuntimeException
and is thrown when Fortress config startup failed. This is critical runtime exception and means system is inoperable due to a cfg error. See theGlobalErrIds
javadoc for list of error ids.- Author:
- Apache Directory Project
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CfgRuntimeException(int errorId, String newMsgText)
Create exception with error id and message.CfgRuntimeException(int errorId, String newMsgText, Exception newException)
Create exception with error id, message and related exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Exception
getException()
Get the exception object.-
Methods inherited from class org.apache.directory.fortress.core.BaseRuntimeException
getErrorId, getMsg
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
CfgRuntimeException
public CfgRuntimeException(int errorId, String newMsgText, Exception newException)
Create exception with error id, message and related exception.- Parameters:
errorId
- contains error code that is contained withinGlobalErrIds
newMsgText
- contains text related to the exception.newException
- contains related exception.
-
CfgRuntimeException
public CfgRuntimeException(int errorId, String newMsgText)
Create exception with error id and message.- Parameters:
errorId
- contains error code that is contained withinGlobalErrIds
newMsgText
- contains text related to the exception.
-
-
Method Detail
-
getException
public Exception getException()
Get the exception object.- Returns:
- reference to Exception.
-
-