Uses of Class
java.lang.StackTraceElement
-
Packages that use StackTraceElement 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.jdk.dynalink Contains interfaces and classes that are used to link aninvokedynamiccall site.jdk.jshell.spi Defines the Service Provider Interface for pluggable JShell execution engines.jdk.nashorn.api.scripting This package provides thejavax.scriptintegration, which is the preferred way to use Nashorn. -
-
Uses of StackTraceElement in java.lang
Methods in java.lang that return StackTraceElement Modifier and Type Method Description StackTraceElement[]Thread. getStackTrace()Returns an array of StackTraceElement, where each element of the array represents a frame on the Java stack.StackTraceElement[]Throwable. getStackTrace()Answers an array of StackTraceElement.StackTraceElementStackWalker.StackFrame. toStackTraceElement()Converts this StackFrame into a StackTraceElement.Methods in java.lang with parameters of type StackTraceElement Modifier and Type Method Description voidThrowable. setStackTrace(StackTraceElement[] trace)Sets the array of StackTraceElements. -
Uses of StackTraceElement in java.lang.management
Methods in java.lang.management that return StackTraceElement Modifier and Type Method Description StackTraceElementMonitorInfo. getLockedStackFrame()The completeStackTraceElementin which the monitor was locked.StackTraceElement[]ThreadInfo. getStackTrace()If available, returns the stack trace for the thread represented by thisThreadInfoinstance.Constructors in java.lang.management with parameters of type StackTraceElement Constructor Description MonitorInfo(String className, int identityHashCode, int stackDepth, StackTraceElement stackFrame)Creates a newMonitorInfoinstance. -
Uses of StackTraceElement in jdk.dynalink
Methods in jdk.dynalink that return StackTraceElement Modifier and Type Method Description static 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 StackTraceElement Constructor Description ResolutionException(int id, StackTraceElement[] stackElements)Constructs an exception indicating that aDeclarationSnippetwith unresolved references has been encountered.UserException(String message, String causeExceptionClass, StackTraceElement[] stackElements) -
Uses of StackTraceElement in jdk.nashorn.api.scripting
Methods in jdk.nashorn.api.scripting that return StackTraceElement Modifier and Type Method Description static StackTraceElement[]NashornException. getScriptFrames(Throwable exception)Deprecated, for removal: This API element is subject to removal in a future version.Returns array javascript stack frames from the given exception object.
-