java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.grogra.xl.vmx.AbruptCompletion
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbruptCompletion.Break
,AbruptCompletion.Return
,AbruptCompletion.Throw
Base class for abrupt completions. An abrupt completion is one
of the following:
-
A
AbruptCompletion.Break
with a label. -
A
AbruptCompletion.Return
with a value. -
A
AbruptCompletion.Throw
with a throwable as its cause.
RuntimeException
s that have to be
caught at suitable locations.
The class AbruptCompletion.Nonlocal
wraps an abrupt completion that has to be
transferred (non-locally) to a statically containing routine invocation
before Java's catching mechanism comes into play.
- Author:
- Ole Kniemeyer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
An abrupt completion due to abreak
orcontinue
.static final class
This class wraps an abrupt completion that has to be transferred (non-locally) to a statically containing routine invocation before Java's catching mechanism comes into play.static final class
An abrupt completion due to areturn
.static final class
An abrupt completion due to a thrownThrowable
. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
getLabel
public abstract int getLabel() -
dispose
public abstract void dispose()
-