Uses of Class
java.lang.StackTraceElement
Packages that use StackTraceElement
Package
Description
Provides classes that are fundamental to the design of the Java
programming language.
Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Contains interfaces and classes that are used to link an
invokedynamic call site.Defines the Service Provider Interface for pluggable JShell execution engines.
-
Uses of StackTraceElement in java.lang
Methods in java.lang that return StackTraceElementModifier and TypeMethodDescriptionThread.getStackTrace()Returns an array of StackTraceElement, where each element of the array represents a frame on the Java stack.Throwable.getStackTrace()Answers an array of StackTraceElement.StackWalker.StackFrame.toStackTraceElement()Converts this StackFrame into a StackTraceElement.Methods in java.lang with parameters of type StackTraceElementModifier and TypeMethodDescriptionvoidThrowable.setStackTrace(StackTraceElement[] trace) Sets the array of StackTraceElements. -
Uses of StackTraceElement in java.lang.management
Methods in java.lang.management that return StackTraceElementModifier and TypeMethodDescriptionMonitorInfo.getLockedStackFrame()The completeStackTraceElementin which the monitor was locked.ThreadInfo.getStackTrace()If available, returns the stack trace for the thread represented by thisThreadInfoinstance.Constructors in java.lang.management with parameters of type StackTraceElementModifierConstructorDescriptionMonitorInfo(String className, int identityHashCode, int stackDepth, StackTraceElement stackFrame) Creates a newMonitorInfoinstance. -
Uses of StackTraceElement in jdk.dynalink
Methods in jdk.dynalink that return StackTraceElementModifier and TypeMethodDescriptionstatic StackTraceElementDynamicLinker.getLinkedCallSiteLocation()Returns a stack trace element describing the location of theinvokedynamiccall site currently being linked on the current thread. -
Uses of StackTraceElement in jdk.jshell.spi
Constructors in jdk.jshell.spi with parameters of type StackTraceElementModifierConstructorDescriptionResolutionException(int id, StackTraceElement[] stackElements) Constructs an exception indicating that aDeclarationSnippetwith unresolved references has been encountered.UserException(String message, String causeExceptionClass, StackTraceElement[] stackElements)