public static interface Errors.Plugins
Namespace for the plugins which Errors supports.
| Modifier and Type | Interface and Description | 
|---|---|
| static interface  | Errors.Plugins.DialogPlugin interface for  Errors.dialog(). | 
| static interface  | Errors.Plugins.LogPlugin interface for  Errors.log(). | 
| static class  | Errors.Plugins.OnErrorThrowAssertionAn implementation of all of the  Errorsplugins which throws an AssertionError on any exception. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | defaultDialog(Throwable error)Default behavior of  Errors.dialog()is @{link Throwable#printStackTrace()} andJOptionPane.showMessageDialog. | 
| static void | defaultLog(Throwable error)Default behavior of  Errors.log()is @{link Throwable#printStackTrace()}. | 
static void defaultLog(Throwable error)
Default behavior of Errors.log() is @{link Throwable#printStackTrace()}.
static void defaultDialog(Throwable error)
Default behavior of Errors.dialog() is @{link Throwable#printStackTrace()} and JOptionPane.showMessageDialog.
The JOptionPane part is called using reflection, and fails silently if swing isn’t available. The Throwable.printStackTrace part works whether swing is available or not.