apport/java
openKylinBot 5138f1f9db Import Upstream version 2.20.11 2022-05-13 19:55:01 +08:00
..
com/ubuntu/apport Import Upstream version 2.20.11 2022-05-13 19:55:01 +08:00
README Import Upstream version 2.20.11 2022-05-13 19:55:01 +08:00
crash.java Import Upstream version 2.20.11 2022-05-13 19:55:01 +08:00

README

apport.jar contains the necessary class(es) for trapping uncaught Java
exceptions.  crash.class and crash.jar are used only by the test suite.

The crash handler, when invoked, opens a pipe to the java_uncaught_exception
script, and feeds it key/value pairs containing the relevant JVM state.

There is currently no automatic integration of this handler. You have to do

  import com.ubuntu.apport.*;

and in your main method install the handler with

  com.ubuntu.apport.ApportUncaughtExceptionHandler.install();