Class InvalidSentryTraceHeaderException

java.lang.Object
java.lang.Throwable
java.lang.Exception
io.sentry.exception.InvalidSentryTraceHeaderException
All Implemented Interfaces:
Serializable

public final class InvalidSentryTraceHeaderException extends Exception
Thrown when SentryTraceHeader fails to create because of the invalid value of the "sentry-trace" header field.
See Also:
  • Constructor Details

    • InvalidSentryTraceHeaderException

      public InvalidSentryTraceHeaderException(@NotNull @NotNull String sentryTraceHeader)
    • InvalidSentryTraceHeaderException

      public InvalidSentryTraceHeaderException(@NotNull @NotNull String sentryTraceHeader, @Nullable @Nullable Throwable cause)
  • Method Details

    • getSentryTraceHeader

      @NotNull public @NotNull String getSentryTraceHeader()