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
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 |
ReasoningException
public ReasoningException(String s)
- Constructs a new ReasoningException.
- Parameters:
s
- the message to be displayed.
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.