|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
de.matthiasmann.continuations.SuspendExecution
public final class SuspendExecution
An exception used to initiate the control transfer.
It does not support stack traces.
Methods which are declared to throw this exception are "suspendable". This exception must always be propagated and never be caught.
Generic try/catch handlers are allowed:
try{ doSomething(); } catch(Throwable ex) { handleException(ex); }
The instrumentation ANT task will enhance the bytecode of these methods to support suspension and continuation of their execution.
| Method Summary | |
|---|---|
java.lang.Throwable |
fillInStackTrace()
|
| Methods inherited from class java.lang.Throwable |
|---|
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 java.lang.Throwable fillInStackTrace()
fillInStackTrace in class java.lang.Throwable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||