-
public final class StackTraceCall frames for assertions or error messages.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringdescriptionprivate final List<CallFrame>callFramesprivate final StackTraceparentprivate final StackTraceIdparentId
-
Constructor Summary
Constructors Constructor Description StackTrace(String description, List<CallFrame> callFrames, StackTrace parent, StackTraceId parentId)
-
Method Summary
Modifier and Type Method Description final Stringcomponent1()final List<CallFrame>component2()final StackTracecomponent3()final StackTraceIdcomponent4()final StackTracecopy(String description, List<CallFrame> callFrames, StackTrace parent, StackTraceId parentId)final StringgetDescription()String label of this stack trace. final List<CallFrame>getCallFrames()JavaScript function name. final StackTracegetParent()Asynchronous JavaScript stack trace that preceded this stack, if available. final StackTraceIdgetParentId()Asynchronous JavaScript stack trace that preceded this stack, if available. -
-
Constructor Detail
-
StackTrace
StackTrace(String description, List<CallFrame> callFrames, StackTrace parent, StackTraceId parentId)
-
-
Method Detail
-
component1
final String component1()
-
component2
final List<CallFrame> component2()
-
component3
final StackTrace component3()
-
component4
final StackTraceId component4()
-
copy
final StackTrace copy(String description, List<CallFrame> callFrames, StackTrace parent, StackTraceId parentId)
-
getDescription
final String getDescription()
String label of this stack trace. For async traces this may be a name of the function that initiated the async call.
-
getCallFrames
final List<CallFrame> getCallFrames()
JavaScript function name.
-
getParent
final StackTrace getParent()
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
getParentId
final StackTraceId getParentId()
Asynchronous JavaScript stack trace that preceded this stack, if available.
-
-
-
-