public class SPException extends java.lang.Exception implements PrologException
SPException or its sub-classes.| Modifier and Type | Method and Description |
|---|---|
Term |
getTerm()
Returns the exception term.
|
java.lang.String |
toString()
Returns a description of the exception.
|
public java.lang.String toString()
toString in interface PrologExceptiontoString in class java.lang.Throwablepublic Term getTerm() throws SPException
getTerm in interface PrologExceptionSPException