Class ConversionFailedException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by se.sics.jasper.SPException
              extended by se.sics.jasper.ConversionFailedException
All Implemented Interfaces:, PrologException

public class ConversionFailedException
extends SPException

Thrown if a Java value canot be converted to a Prolog term.

You should not catch a ConversionFailedException. Catch SPException instead, since ConversionFailedException is not guaranteed to exist in future versions of Jasper.

See Also:
SPTerm, Serialized Form

Field Summary
Fields inherited from class se.sics.jasper.SPException
Constructor Summary
ConversionFailedException(SICStus sp, java.lang.String msg)
Method Summary
Methods inherited from class se.sics.jasper.SPException
finalize, getTerm, toString
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public ConversionFailedException(SICStus sp,
                                 java.lang.String msg)