Class CrashReporter
java.lang.Object
slash.navigation.converter.gui.helpers.CrashReporter
- All Implemented Interfaces:
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.
- Author:
- Christian Pesch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleCrash(Thread thread, Throwable throwable) voidOn a successful launch, delivers unsent spooled reports (crashes from a previous session).
-
Constructor Details
-
CrashReporter
public CrashReporter()
-
-
Method Details
-
handleCrash
- Specified by:
handleCrashin interfaceCrashHandler
-
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.
-