MCPcopy Create free account
hub / github.com/ArtifexSoftware/mupdf / exception

Method exception

platform/java/example/Viewer.java:237–243  ·  view source on GitHub ↗
(Throwable t)

Source from the content-addressed store, hash-verified

235 }
236
237 public void exception(Throwable t) {
238 StringWriter sw = new StringWriter();
239 PrintWriter pw = new PrintWriter(sw);
240 t.printStackTrace(pw);
241 System.out.println("Exception: " + sw.toString());
242 LogDialog ld = new LogDialog(this, "Exception!", "Exception: " + sw.toString());
243 }
244
245 public void error(String message) {
246 LogDialog ld = new LogDialog(this, "Error!", "Error: " + message);

Callers 2

runMethod · 0.95
saveMethod · 0.95

Calls 1

toStringMethod · 0.45

Tested by

no test coverage detected