| 1 | package processing.app.helpers; |
| 2 | |
| 3 | public abstract class UserNotifier { |
| 4 | |
| 5 | public void showError(String title, String message, int exit_code) { |
| 6 | showError(title, message, null, exit_code); |
| 7 | } |
| 8 | |
| 9 | public void showError(String title, String message, Throwable e) { |
| 10 | showError(title, message, e, 1); |
| 11 | } |
| 12 | |
| 13 | public abstract void showError(String title, String message, Throwable e, int exit_code); |
| 14 | |
| 15 | public abstract void showMessage(String title, String message); |
| 16 | |
| 17 | public abstract void showWarning(String title, String message, Exception e); |
| 18 | |
| 19 | } |