MCPcopy Create free account
hub / github.com/bobbylight/RText / displayException

Method displayException

src/main/java/org/fife/rtext/RText.java:377–386  ·  view source on GitHub ↗

Overridden so we can syntax highlight the Java exception displayed. @param owner The dialog that threw the Exception. @param t The exception/throwable that occurred. @param desc A short description of the error. This can be null .

(Dialog owner, Throwable t, String desc)

Source from the content-addressed store, hash-verified

375 * <code>null</code>.
376 */
377 @Override
378 public void displayException(Dialog owner, Throwable t, String desc) {
379 ExceptionDialog ed = new ExceptionDialog(owner, t);
380 if (desc!=null) {
381 ed.setDescription(desc);
382 }
383 ed.setLocationRelativeTo(owner);
384 ed.setTitle(getString("ErrorDialogTitle"));
385 ed.setVisible(true);
386 }
387
388
389 /**

Callers 15

addCopyAsSubMenuMethod · 0.95
updateLookAndFeelMethod · 0.95
actionPerformedMethod · 0.95
savePreferencesMethod · 0.95
handleSubmitMethod · 0.95
savePreferencesMethod · 0.95
tidyJsonMethod · 0.95
savePreferencesMethod · 0.95
saveWorkspaceMethod · 0.95
actionPerformedMethod · 0.95
actionPerformedMethod · 0.95

Calls 4

setTitleMethod · 0.80
setDescriptionMethod · 0.45
getStringMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected