Prolog Cafe v1.2

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

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.BuiltinException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
EvaluationException, ExistenceException, IllegalDomainException, IllegalTypeException, JavaException, PermissionException, PInstantiationException, RepresentationException, SyntaxException

public class BuiltinException
extends PrologException

Builtin exception.

See Also:
Serialized Form

Field Summary
 int argNo
          Holds the arity of goal in which this exception occurs.
 Predicate goal
          Holds the goal in which this exception occurs.
 
Constructor Summary
BuiltinException()
          Constructs a new BuiltinException.
BuiltinException(Term _message)
          Constructs a new BuiltinException 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
 

Field Detail

goal

public Predicate goal
Holds the goal in which this exception occurs.


argNo

public int argNo
Holds the arity of goal in which this exception occurs.

Constructor Detail

BuiltinException

public BuiltinException()
Constructs a new BuiltinException.


BuiltinException

public BuiltinException(Term _message)
Constructs a new BuiltinException 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