JTP API Documentation

jtp
Class ReasoningException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--jtp.ReasoningException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InconsistencyException, ParsingException

public class ReasoningException
extends Exception

The basic class for an exception occuring during reasoning.

See Also:
Serialized Form

Constructor Summary
ReasoningException(String s)
          Constructs a new ReasoningException.
 
Method Summary
 Reasoner getReasoner()
          Returns the reasoner that experienced the exception.
protected  void setReasoner(Reasoner reasoner)
          Sets the value for the reasoner that experienced the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, 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

ReasoningException

public ReasoningException(String s)
Constructs a new ReasoningException.

Parameters:
s - the message to be displayed.
Method Detail

getReasoner

public Reasoner getReasoner()
Returns the reasoner that experienced the exception. Can be null if no reasoner is associated with the exception.

Returns:
the reasoner that experienced the exception.

setReasoner

protected void setReasoner(Reasoner reasoner)
Sets the value for the reasoner that experienced the exception.

Parameters:
reasoner - the reasoner that experienced the exception.

JTP API Documentation