Class CrashReporter

java.lang.Object
slash.navigation.converter.gui.helpers.CrashReporter
All Implemented Interfaces:
CrashHandler

public class CrashReporter extends Object implements CrashHandler
Assembles a DiagnosticReport from a captured crash and spools it to disk. Registered with Application.setCrashHandler(slash.navigation.gui.CrashHandler) at startup.

Delivery is telemetry-driven and never opens a dialog on its own:

  • Opted in (spec 00011 Phase 2): spooled reports are sent silently in the background and deleted on success.
  • Opted out: reports only stay spooled — nothing is sent and no dialog is opened automatically. The user can still review and send a report manually via Help → Send Error Report.
Silent sending is always fully asynchronous and fail-silent so telemetry never blocks, slows or crashes the app.
Author:
Christian Pesch
  • Constructor Details

    • CrashReporter

      public CrashReporter()
  • Method Details

    • handleCrash

      public void handleCrash(Thread thread, Throwable throwable)
      Specified by:
      handleCrash in interface CrashHandler
    • offerSpooledReports

      public void offerSpooledReports()
      On a successful launch, delivers unsent spooled reports (crashes from a previous session). When telemetry is opted in they are sent silently in the background; when opted out the backlog is left spooled and silent -- no dialog is opened.