|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
de.grogra.xl.vmx.AbruptCompletion
public abstract class AbruptCompletion
Base class for abrupt completions. An abrupt completion is one of the following:
AbruptCompletion.Break
with a label.
AbruptCompletion.Return
with a value.
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.
Nested Class Summary | |
---|---|
static class |
AbruptCompletion.Break
An abrupt completion due to a break or
continue . |
static class |
AbruptCompletion.Nonlocal
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 class |
AbruptCompletion.Return
An abrupt completion due to a return . |
static class |
AbruptCompletion.Throw
An abrupt completion due to a thrown Throwable . |
Method Summary | |
---|---|
abstract void |
dispose()
|
abstract int |
getLabel()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public abstract void dispose()
public abstract int getLabel()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |