Hilbert II - Version 0.03.04

org.qedeq.kernel.bo.logic
Class FormulaCheckException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.qedeq.kernel.common.QedeqException
              extended byorg.qedeq.kernel.bo.module.ModuleDataException
                  extended byorg.qedeq.kernel.bo.logic.LogicalCheckException
                      extended byorg.qedeq.kernel.bo.logic.FormulaCheckException
All Implemented Interfaces:
Serializable

public class FormulaCheckException
extends LogicalCheckException

This is an exception for logical errors within a QEDEQ module. A checked formula has an syntactical error. That is for example: Mixture of free and bound occurrence of a subject variable, element list that is has a subject variable operator but has not exactly one element that is an atom.

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.lang.Exception
 
Constructor Summary
FormulaCheckException(int errorCode, String message, Element element, ModuleContext context)
          Constructs an exception.
FormulaCheckException(int errorCode, String message, Element element, ModuleContext context, ModuleContext referenceContext)
          Constructs an exception.
 
Methods inherited from class org.qedeq.kernel.bo.logic.LogicalCheckException
getElement, toString
 
Methods inherited from class org.qedeq.kernel.bo.module.ModuleDataException
getContext, getReferenceContext
 
Methods inherited from class org.qedeq.kernel.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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FormulaCheckException

public FormulaCheckException(int errorCode,
                             String message,
                             Element element,
                             ModuleContext context,
                             ModuleContext referenceContext)
Constructs an exception.

Parameters:
errorCode - ErrorCode of this message.
message - What is the problem.
element - Problematic formula.
context - Error location. Not necessarily pointing to element.
referenceContext - Reference location.

FormulaCheckException

public FormulaCheckException(int errorCode,
                             String message,
                             Element element,
                             ModuleContext context)
Constructs an exception.

Parameters:
errorCode - ErrorCode of this message.
message - What is the problem.
element - Problematic formula.
context - Error location. Not necessarily pointing to element.

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.