com.svincent.moksa
Class PrologException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.svincent.util.NestableException
                    |
                    +--com.svincent.moksa.PrologException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
NoSuchRuleException, PrologException.UnhandledPrologException, PrologParseException, PrologStringFormatException

public class PrologException
extends NestableException

Superclass of all exceptions thrown from the WAM.

See Also:
Serialized Form

Inner Class Summary
static class PrologException.UnhandledPrologException
           
 
Constructor Summary
PrologException()
           
PrologException(java.lang.String msg)
           
PrologException(java.lang.String msg, java.lang.Throwable ex)
           
 
Method Summary
 void printStackTrace(java.io.PrintStream out)
          Print the stack trace of this exception to the given PrintStream.
 
Methods inherited from class com.svincent.util.NestableException
getNestedException, getStackTrace, main, printStackTrace, testBar, testFoo
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrologException

public PrologException()

PrologException

public PrologException(java.lang.String msg)

PrologException

public PrologException(java.lang.String msg,
                       java.lang.Throwable ex)
Method Detail

printStackTrace

public void printStackTrace(java.io.PrintStream out)
Description copied from class: NestableException
Print the stack trace of this exception to the given PrintStream.
Overrides:
printStackTrace in class NestableException



This is documentation for Moksa Prolog, which can be found at http://www.svincent.com/moksa/

Copyright © 1999 Shawn P. Vincent.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.