se.sics.jasper
Class SPException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--se.sics.jasper.SPException
All Implemented Interfaces:
PrologException, java.io.Serializable
Direct Known Subclasses:
AtomRegisterFailure, ConversionFailedException, IllegalCallerException, IllegalTermException

public class SPException
extends java.lang.Exception
implements PrologException

Represents a exception thrown by Jasper. You should not create or inherit from SPException or its sub-classes.

See Also:
Serialized Form

Field Summary
protected  SPTerm term
           
protected  java.lang.String toStringString
           
 
Method Summary
 java.lang.String toString()
          Returns a description of the exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

term

protected SPTerm term

toStringString

protected java.lang.String toStringString
Method Detail

toString

public java.lang.String toString()
Returns a description of the exception. If an error-description was given, it is returned together with the error-string returned from Prolog, if any.
Specified by:
toString in interface PrologException
Overrides:
toString in class java.lang.Throwable