Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
StackTraceElement[] |
Throwable.getStackTrace()
Provides programmatic access to the stack trace information printed by
Throwable.printStackTrace() . |
StackTraceElement[] |
Thread.getStackTrace()
Returns an array of stack trace elements representing the stack dump
of this thread.
|
Modifier and Type | Method and Description |
---|---|
void |
Throwable.setStackTrace(StackTraceElement[] stackTrace)
Sets the stack trace elements that will be returned by
Throwable.getStackTrace() and printed by Throwable.printStackTrace()
and related methods. |