public final class SuspendExecution
extends java.lang.Exception
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.
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace() |