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.Breakwith a label. -
A
AbruptCompletion.Returnwith a value. -
A
AbruptCompletion.Throwwith a throwable as its cause.
RuntimeExceptions 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 classAn abrupt completion due to abreakorcontinue.static final classThis 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 classAn abrupt completion due to areturn.static final classAn 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()
-