Interface TrackedError.ThrowableSnapshot

Enclosing class:
TrackedError

public static interface TrackedError.ThrowableSnapshot
An immutable snapshot of a throwable.
  • Method Details

    • getType

      Class<?> getType()
      Gets the type of the snapshotted throwable.
      Returns:
      the throwable type
    • getMessage

      String getMessage()
      Gets the message of the snapshotted throwable.
      Returns:
      the throwable message
    • getCause

      Gets the snapshot of the cause, if any.
      Returns:
      the cause snapshot, or null
    • getStackTrace

      StackTraceElement[] getStackTrace()
      Gets a copy of the stack trace of the snapshotted throwable.
      Returns:
      the stack trace