Prolog Cafe v1.2

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

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.InternalException
All Implemented Interfaces:
java.io.Serializable

public class InternalException
extends PrologException

Internal error.

See Also:
Serialized Form

Field Summary
static SymbolTerm INTERNAL_ERROR
          A functor symbol of internal_error/1.
 java.lang.String message
          Holds a message.
 
Constructor Summary
InternalException(java.lang.String _message)
          Constructs a new InternalException with a message.
 
Method Summary
 Term getMessageTerm()
          Returns a term representation of this InternalException: internal_error(message).
 java.lang.String toString()
          Returns a string representation of this InternalException.
 
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

INTERNAL_ERROR

public static SymbolTerm INTERNAL_ERROR
A functor symbol of internal_error/1.


message

public java.lang.String message
Holds a message.

Constructor Detail

InternalException

public InternalException(java.lang.String _message)
Constructs a new InternalException with a message.

Method Detail

getMessageTerm

public Term getMessageTerm()
Returns a term representation of this InternalException: internal_error(message).

Specified by:
getMessageTerm in class PrologException

toString

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

Overrides:
toString in class java.lang.Throwable

Prolog Cafe v1.2

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