Prolog Cafe v1.2

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

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
                      extended by jp.ac.kobe_u.cs.prolog.lang.RepresentationException
All Implemented Interfaces:
java.io.Serializable

public class RepresentationException
extends BuiltinException

Representation error.
There will be a representation error when an implementation defined limit has been breached.

See Also:
Serialized Form

Field Summary
 java.lang.String flag
          Holds a string representation of flag.
static SymbolTerm REPRESENTATION_ERROR
          A functor symbol of representation_error/3.
 
Fields inherited from class jp.ac.kobe_u.cs.prolog.lang.BuiltinException
argNo, goal
 
Constructor Summary
RepresentationException(Predicate _goal, int _argNo, java.lang.String _flag)
          Constructs a new RepresentationException with the given arguments.
RepresentationException(java.lang.String _flag)
          Constructs a new RepresentationException with a flag.
 
Method Summary
 Term getMessageTerm()
          Returns a term representation of this RepresentationException: representation_error(goal,argNo,flag).
 java.lang.String toString()
          Returns a string representation of this RepresentationException.
 
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

REPRESENTATION_ERROR

public static SymbolTerm REPRESENTATION_ERROR
A functor symbol of representation_error/3.


flag

public java.lang.String flag
Holds a string representation of flag.

Constructor Detail

RepresentationException

public RepresentationException(java.lang.String _flag)
Constructs a new RepresentationException with a flag.


RepresentationException

public RepresentationException(Predicate _goal,
                               int _argNo,
                               java.lang.String _flag)
Constructs a new RepresentationException with the given arguments.

Method Detail

getMessageTerm

public Term getMessageTerm()
Returns a term representation of this RepresentationException: representation_error(goal,argNo,flag).

Overrides:
getMessageTerm in class BuiltinException

toString

public java.lang.String toString()
Returns a string representation of this RepresentationException.

Overrides:
toString in class java.lang.Throwable

Prolog Cafe v1.2

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