Package com.illumon.iris.gui.util
Interface ErrorReporter
public interface ErrorReporter
A class that provides means for reporting an error to the user.
-
Method Summary
Modifier and Type Method Description default void
reportError(Throwable error)
Report the specified error to the user.default void
reportError(Throwable error, boolean modal, boolean fatal)
Report the specified error to the user optionally using a modal dialog and marking it as fatal.void
reportError(Throwable error, ZonedDateTime atTime, boolean modal, boolean fatal)
Report the specified error that occurred at the specified time to the user optionally using a modal dialog and marking it as fatal.
-
Method Details
-
reportError
Report the specified error to the user.- Parameters:
error
- the error.
-
reportError
Report the specified error to the user optionally using a modal dialog and marking it as fatal.- Parameters:
error
- the error to reportmodal
- true of the report should be modalfatal
- true if the error was fatal
-
reportError
void reportError(@NotNull Throwable error, @NotNull ZonedDateTime atTime, boolean modal, boolean fatal)Report the specified error that occurred at the specified time to the user optionally using a modal dialog and marking it as fatal.- Parameters:
error
- the erroratTime
- the time the error occurredmodal
- true if the report should be modalfatal
- true if the error was fatal
-