1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-24 13:52:14 +01:00

20 lines
548 B
Java
Raw Normal View History

2014-08-21 19:46:16 +02:00
package processing.app.helpers;
public abstract class UserNotifier {
2014-08-21 19:46:16 +02:00
public void showError(String title, String message, int exit_code) {
showError(title, message, null, exit_code);
}
2014-08-21 19:46:16 +02:00
public void showError(String title, String message, Throwable e) {
showError(title, message, e, 1);
}
2014-08-21 19:46:16 +02:00
public abstract void showError(String title, String message, Throwable e, int exit_code);
public abstract void showMessage(String title, String message);
public abstract void showWarning(String title, String message, Exception e);
2014-08-21 19:46:16 +02:00
}