public class StackUnwindException
extends java.lang.RuntimeException
This class is an unchecked exception because it is used for flow of
control (this is required by the lack of closure support in Java combined
with the use of inner classes as code blocks). This usage is hidden from
the generated code and thus it doesn't make sense to emit
throws
clauses in the generated code. In addition there
would be no benefit to do so.
Modifier and Type | Field and Description |
---|---|
private static boolean |
captureStack
Flag indicating whether we capture stack trace data
|
private static java.util.logging.Logger |
LOG
Logger
|
Constructor and Description |
---|
StackUnwindException()
Default constructor.
|
StackUnwindException(java.lang.String msg)
Constructor with message initializer
|
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
fillInStackTrace()
Fills in the execution stack trace.
|
private static final java.util.logging.Logger LOG
private static final boolean captureStack
public StackUnwindException()
public StackUnwindException(java.lang.String msg)
msg
- The message representing this exceptionpublic java.lang.Throwable fillInStackTrace()
Throwable
object information about the current state of
the stack frames for the current thread.
If the stack trace of this Throwable
is not
writable, calling this method has no effect.
fillInStackTrace
in class java.lang.Throwable
Throwable
instance.Throwable.printStackTrace()