com.svincent.moksa
Class Wam.ExceptionHandler

java.lang.Object
  |
  +--com.svincent.moksa.WamObject
        |
        +--com.svincent.moksa.Wam.ExceptionHandler
All Implemented Interfaces:
Trailable
Enclosing class:
Wam

public static class Wam.ExceptionHandler
extends WamObject
implements Trailable

A registered exception handler for the current thread of execution.


Constructor Summary
Wam.ExceptionHandler(Wam _wam, PrologTerm _goal, PrologTerm _exception, Continuation _handler)
           
 
Method Summary
 PrologTerm getException()
           
 Continuation getHandler()
           
 void untrail()
          Called when the trail is being unwound.
 
Methods inherited from class com.svincent.moksa.WamObject
tag, tag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Wam.ExceptionHandler

public Wam.ExceptionHandler(Wam _wam,
                            PrologTerm _goal,
                            PrologTerm _exception,
                            Continuation _handler)
Method Detail

getException

public PrologTerm getException()

getHandler

public Continuation getHandler()

untrail

public void untrail()
Called when the trail is being unwound.
Specified by:
untrail in interface Trailable



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.