Prolog Cafe v1.2

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

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

public class SystemException
extends PrologException

System error.

See Also:
Serialized Form

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

SYSTEM_ERROR

public static SymbolTerm SYSTEM_ERROR
A functor symbol of system_error/1.


message

public java.lang.String message
Holds a message.

Constructor Detail

SystemException

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

Method Detail

getMessageTerm

public Term getMessageTerm()
Returns a term representation of this SystemException: system_error(message).

Specified by:
getMessageTerm in class PrologException

toString

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

Overrides:
toString in class java.lang.Throwable

Prolog Cafe v1.2

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