Package io.sentry
Class SentryStackTraceFactory
java.lang.Object
io.sentry.SentryStackTraceFactory
class responsible for converting Java StackTraceElements to SentryStackFrames
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull List<SentryStackFrame>
@Nullable List<SentryStackFrame>
getStackFrames
(@Nullable StackTraceElement[] elements, boolean includeSentryFrames) convert an Array of Java StackTraceElements to a list of SentryStackFrames@Nullable Boolean
Returns if the className is InApp or not.
-
Constructor Details
-
SentryStackTraceFactory
-
-
Method Details
-
getStackFrames
@Nullable public @Nullable List<SentryStackFrame> getStackFrames(@Nullable @Nullable StackTraceElement[] elements, boolean includeSentryFrames) convert an Array of Java StackTraceElements to a list of SentryStackFrames- Parameters:
elements
- Array of Java StackTraceElements- Returns:
- list of SentryStackFrames or null if none
-
isInApp
Returns if the className is InApp or not.- Parameters:
className
- the className- Returns:
- true if it is or false otherwise
-
getInAppCallStack
-