Package org.armedbear.lisp
Class ControlTransfer
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.armedbear.lisp.ControlTransfer
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class ControlTransfer extends java.lang.RuntimeException
This class is the parent class of all non-local transfer of control events in ABCL. The classes inheriting from this class each represent a transfer of control event as it is available in the standard: GO (represented by Go), RETURN (by Return) and THROW (by Throw). Please note that you should only be using these classes in case you've establisched a corresponding TAGBODY, BLOCK or CATCH-like construct in your code. Otherwise, be aware that if you are mixing Lisp and Java code, Lisp code being called into might throw one of the three exception types and cause execution to be transferred to the nearest handler - presumably outside your Java code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlTransfer()
ControlTransfer(java.lang.String message)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
fillInStackTrace()
Overridden in order to make ControlTransfer construct faster.abstract LispObject
getCondition()
-
-
-
Method Detail
-
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
Overridden in order to make ControlTransfer construct faster. This avoids gathering stack trace information.- Overrides:
fillInStackTrace
in classjava.lang.Throwable
-
getCondition
public abstract LispObject getCondition()
-
-