Prolog Cafe v1.2

jp.ac.kobe_u.cs.prolog.lang
Class TermException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by jp.ac.kobe_u.cs.prolog.lang.PrologException
                  extended by jp.ac.kobe_u.cs.prolog.lang.TermException
All Implemented Interfaces:
java.io.Serializable

public class TermException
extends PrologException

User-defined exception.
This TermException is used to implement built-in predicate throw/1.

See Also:
Serialized Form

Constructor Summary
TermException()
          Constructs a new TermException.
TermException(Term _message)
          Constructs a new TermException with a given message term.
 
Method Summary
 Term getMessageTerm()
          Returns the message term of this object.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TermException

public TermException()
Constructs a new TermException.


TermException

public TermException(Term _message)
Constructs a new TermException with a given message term.

Method Detail

getMessageTerm

public Term getMessageTerm()
Description copied from class: PrologException
Returns the message term of this object.

Specified by:
getMessageTerm in class PrologException

Prolog Cafe v1.2

Copyright (C) 1997-2008 M.BANBARA and N.TAMURA