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 TypeMethodDescriptiondefault voidreportError(Throwable error) Report the specified error to the user.default voidreportError(Throwable error, boolean modal, boolean fatal) Report the specified error to the user optionally using a modal dialog and marking it as fatal.voidreportError(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
-