Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.lang.StackTraceElement

Packages that use StackTraceElement
java.lang | Provides classes that are fundamental to the design of the Java programming language.
java.lang.management | Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running.

Uses of StackTraceElement in java.lang

Methods in java.lang that return StackTraceElement
`StackTraceElement[]` | `Thread.getStackTrace()` Returns an array of stack trace elements representing the stack dump of this thread.
`StackTraceElement[]` | `Throwable.getStackTrace()` Provides programmatic access to the stack trace information printed by `Throwable.printStackTrace()`.

Methods in java.lang with parameters of type StackTraceElement
`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.

Uses of StackTraceElement in java.lang.management

Methods in java.lang.management that return StackTraceElement
`StackTraceElement[]` | `ThreadInfo.getStackTrace()` Returns the stack trace of the thread associated with this `ThreadInfo`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JavaTM 2 Platform Standard Ed. 5.0
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.