|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.qedeq.kernel.se.common.QedeqException
org.qedeq.kernel.se.common.ModuleDataException
org.qedeq.kernel.bo.logic.common.LogicalCheckException
public abstract class LogicalCheckException
This is the basis for an exception for logical errors within a QEDEQ module.
Constructor Summary | |
---|---|
LogicalCheckException(int errorCode,
java.lang.String message,
Element element,
ModuleContext context)
Constructs an exception. |
|
LogicalCheckException(int errorCode,
java.lang.String message,
Element element,
ModuleContext context,
ModuleContext referenceContext)
Constructs an exception. |
|
LogicalCheckException(int errorCode,
java.lang.String message,
ModuleContext context)
Constructs an exception. |
Method Summary | |
---|---|
Element |
getElement()
Get the problematic element. |
java.lang.String |
toString()
Returns a short description of this throwable. |
Methods inherited from class org.qedeq.kernel.se.common.ModuleDataException |
---|
equals, getContext, getReferenceContext, hashCode |
Methods inherited from class org.qedeq.kernel.se.common.QedeqException |
---|
getErrorCode |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LogicalCheckException(int errorCode, java.lang.String message, Element element, ModuleContext context, ModuleContext referenceContext)
errorCode
- ErrorCode of this message.message
- What is the problem.element
- Problematic line.context
- Error location.referenceContext
- Reference location.public LogicalCheckException(int errorCode, java.lang.String message, Element element, ModuleContext context)
errorCode
- ErrorCode of this message.message
- What is the problem.element
- Problematic formula.context
- Error location.public LogicalCheckException(int errorCode, java.lang.String message, ModuleContext context)
errorCode
- ErrorCode of this message.message
- What is the problem.context
- Error location.Method Detail |
---|
public final Element getElement()
null
.
public final java.lang.String toString()
Throwable
object was created with a non-null detail
message string, then the result is the concatenation of five strings:
Throwable.getMessage()
method for this object
getElement()
method for this object
(might be empty).
toString
in class QedeqException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |