public class SPException extends java.lang.Exception implements PrologException
SPException
or its sub-classes.Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
toStringString |
Modifier and Type | Method and Description |
---|---|
protected void |
finalize() |
Term |
getTerm()
Returns the exception term.
|
java.lang.String |
toString()
Returns a description of the exception.
|
public java.lang.String toString()
toString
in interface PrologException
toString
in class java.lang.Throwable
public Term getTerm() throws SPException
getTerm
in interface PrologException
SPException
protected void finalize()
finalize
in class java.lang.Object