diff --git a/src/main/java/de/neemann/digital/gui/ErrorStopper.java b/src/main/java/de/neemann/digital/gui/ErrorStopper.java index 452ffcdc2..56b4970f2 100644 --- a/src/main/java/de/neemann/digital/gui/ErrorStopper.java +++ b/src/main/java/de/neemann/digital/gui/ErrorStopper.java @@ -1,8 +1,16 @@ package de.neemann.digital.gui; /** + * Interface used to stop the model. + * * @author hneemann */ public interface ErrorStopper { + /** + * Called to stop the mode + * + * @param message the message + * @param cause the cause + */ void showErrorAndStopModel(String message, Exception cause); }