From 9c3324752d2b5cf21a7eb04796a1c84d724e331b Mon Sep 17 00:00:00 2001 From: hneemann Date: Sun, 17 Apr 2016 15:12:04 +0200 Subject: [PATCH] added some documentation --- src/main/java/de/neemann/digital/gui/ErrorStopper.java | 8 ++++++++ 1 file changed, 8 insertions(+) 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); }