| Package | Description |
|---|---|
| java.lang |
Provides classes that are fundamental to the design of the Java programming language.
|
| java.lang.management |
Provides the management interfaces for monitoring and management of the Java virtual machine and other components in the Java runtime.
|
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement |
Throwable.getStackTrace()
Provides programmatic access to the stack trace information printed by
Throwable.
|
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
Sets the stack trace elements that will be returned by
Throwable and printed by
Throwable and related methods.
|
| Modifier and Type | Method and Description |
|---|---|
StackTraceElement |
MonitorInfo.getLockedStackFrame()
Returns the stack frame that locked the object monitor.
|
StackTraceElement |
ThreadInfo.getStackTrace()
Returns the stack trace of the thread associated with this
ThreadInfo.
|
| Constructor and Description | |
|---|---|
MonitorInfo(String
Construct a
MonitorInfo object.
|