Package io.sentry.protocol
Class SentryStackFrame
java.lang.Object
io.sentry.protocol.SentryStackFrame
- All Implemented Interfaces:
JsonSerializable
,JsonUnknown
Holds information about a single stacktrace frame.
Each object should contain **at least** a `filename`, `function` or `instruction_addr` attribute. All values are optional, but recommended.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable Integer
getColno()
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable Integer
@Nullable SentryLockReason
getLock()
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
@Nullable String
getVars()
@Nullable Boolean
isInApp()
@Nullable Boolean
isNative()
void
serialize
(@NotNull ObjectWriter writer, @NotNull ILogger logger) void
setAbsPath
(@Nullable String absPath) void
void
setContextLine
(@Nullable String contextLine) void
setFilename
(@Nullable String filename) void
setFramesOmitted
(@Nullable List<Integer> framesOmitted) void
setFunction
(@Nullable String function) void
setImageAddr
(@Nullable String imageAddr) void
void
setInstructionAddr
(@Nullable String instructionAddr) void
void
setLock
(@Nullable SentryLockReason lock) void
void
void
setPackage
(@Nullable String _package) void
setPlatform
(@Nullable String platform) void
setPostContext
(@Nullable List<String> postContext) void
setPreContext
(@Nullable List<String> preContext) void
setRawFunction
(@Nullable String rawFunction) void
void
setSymbolAddr
(@Nullable String symbolAddr) void
setUnknown
(@Nullable Map<String, Object> unknown) void
-
Constructor Details
-
SentryStackFrame
public SentryStackFrame()
-
-
Method Details
-
getPreContext
-
setPreContext
-
getPostContext
-
setPostContext
-
getVars
-
setVars
-
getFramesOmitted
-
setFramesOmitted
-
getFilename
-
setFilename
-
getFunction
-
setFunction
-
getModule
-
setModule
-
getLineno
-
setLineno
-
getColno
-
setColno
-
getAbsPath
-
setAbsPath
-
getContextLine
-
setContextLine
-
isInApp
-
setInApp
-
getPackage
-
setPackage
-
getPlatform
-
setPlatform
-
getImageAddr
-
setImageAddr
-
getSymbolAddr
-
setSymbolAddr
-
getInstructionAddr
-
setInstructionAddr
-
isNative
-
setNative
-
getRawFunction
-
setRawFunction
-
getSymbol
-
setSymbol
-
getLock
-
setLock
-
getUnknown
- Specified by:
getUnknown
in interfaceJsonUnknown
-
setUnknown
- Specified by:
setUnknown
in interfaceJsonUnknown
-
serialize
public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException - Specified by:
serialize
in interfaceJsonSerializable
- Throws:
IOException
-