Class SentryStackFrame

java.lang.Object
io.sentry.protocol.SentryStackFrame
All Implemented Interfaces:
JsonSerializable, JsonUnknown

public final class SentryStackFrame extends Object implements JsonUnknown, JsonSerializable
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.

  • Constructor Details

    • SentryStackFrame

      public SentryStackFrame()
  • Method Details

    • getPreContext

      @Nullable public @Nullable List<String> getPreContext()
    • setPreContext

      public void setPreContext(@Nullable @Nullable List<String> preContext)
    • getPostContext

      @Nullable public @Nullable List<String> getPostContext()
    • setPostContext

      public void setPostContext(@Nullable @Nullable List<String> postContext)
    • getVars

      @Nullable public @Nullable Map<String,String> getVars()
    • setVars

      public void setVars(@Nullable @Nullable Map<String,String> vars)
    • getFramesOmitted

      @Nullable public @Nullable List<Integer> getFramesOmitted()
    • setFramesOmitted

      public void setFramesOmitted(@Nullable @Nullable List<Integer> framesOmitted)
    • getFilename

      @Nullable public @Nullable String getFilename()
    • setFilename

      public void setFilename(@Nullable @Nullable String filename)
    • getFunction

      @Nullable public @Nullable String getFunction()
    • setFunction

      public void setFunction(@Nullable @Nullable String function)
    • getModule

      @Nullable public @Nullable String getModule()
    • setModule

      public void setModule(@Nullable @Nullable String module)
    • getLineno

      @Nullable public @Nullable Integer getLineno()
    • setLineno

      public void setLineno(@Nullable @Nullable Integer lineno)
    • getColno

      @Nullable public @Nullable Integer getColno()
    • setColno

      public void setColno(@Nullable @Nullable Integer colno)
    • getAbsPath

      @Nullable public @Nullable String getAbsPath()
    • setAbsPath

      public void setAbsPath(@Nullable @Nullable String absPath)
    • getContextLine

      @Nullable public @Nullable String getContextLine()
    • setContextLine

      public void setContextLine(@Nullable @Nullable String contextLine)
    • isInApp

      @Nullable public @Nullable Boolean isInApp()
    • setInApp

      public void setInApp(@Nullable @Nullable Boolean inApp)
    • getPackage

      @Nullable public @Nullable String getPackage()
    • setPackage

      public void setPackage(@Nullable @Nullable String _package)
    • getPlatform

      @Nullable public @Nullable String getPlatform()
    • setPlatform

      public void setPlatform(@Nullable @Nullable String platform)
    • getImageAddr

      @Nullable public @Nullable String getImageAddr()
    • setImageAddr

      public void setImageAddr(@Nullable @Nullable String imageAddr)
    • getSymbolAddr

      @Nullable public @Nullable String getSymbolAddr()
    • setSymbolAddr

      public void setSymbolAddr(@Nullable @Nullable String symbolAddr)
    • getInstructionAddr

      @Nullable public @Nullable String getInstructionAddr()
    • setInstructionAddr

      public void setInstructionAddr(@Nullable @Nullable String instructionAddr)
    • isNative

      @Nullable public @Nullable Boolean isNative()
    • setNative

      public void setNative(@Nullable @Nullable Boolean _native)
    • getRawFunction

      @Nullable public @Nullable String getRawFunction()
    • setRawFunction

      public void setRawFunction(@Nullable @Nullable String rawFunction)
    • getSymbol

      @Nullable public @Nullable String getSymbol()
    • setSymbol

      public void setSymbol(@Nullable @Nullable String symbol)
    • getLock

      @Nullable public @Nullable SentryLockReason getLock()
    • setLock

      public void setLock(@Nullable @Nullable SentryLockReason lock)
    • getUnknown

      @Nullable public @Nullable Map<String,Object> getUnknown()
      Specified by:
      getUnknown in interface JsonUnknown
    • setUnknown

      public void setUnknown(@Nullable @Nullable Map<String,Object> unknown)
      Specified by:
      setUnknown in interface JsonUnknown
    • serialize

      public void serialize(@NotNull @NotNull ObjectWriter writer, @NotNull @NotNull ILogger logger) throws IOException
      Specified by:
      serialize in interface JsonSerializable
      Throws:
      IOException