diff options
Diffstat (limited to 'src/main/java/at/ac/tuwien/sepm')
| -rw-r--r-- | src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/ArchiveOperationController.java | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/ArchiveOperationController.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/ArchiveOperationController.java index 5e89b66..74f9f57 100644 --- a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/ArchiveOperationController.java +++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/controller/ArchiveOperationController.java @@ -25,11 +25,15 @@ import javafx.scene.image.Image;  import javafx.scene.image.ImageView;  import javafx.scene.layout.AnchorPane;  import javafx.scene.layout.FlowPane; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory;  import org.springframework.stereotype.Controller;  @Controller  public class ArchiveOperationController { +    private static final Logger LOG = LoggerFactory.getLogger(ArchiveOperationController.class); +      @FXML private ImageView imvVehicleDetail;      @FXML private Label lblStatus;      @FXML private AnchorPane apMainDetails; @@ -81,6 +85,7 @@ public class ArchiveOperationController {              lblCompleted.setText("abgeschlossen: " + completedAmount);              lblOperations.setText("Einsätze: " + list.size());          } catch (ServiceException e) { +            LOG.error("ServiceException in update().", e);              Alert alert = new Alert(AlertType.ERROR);              alert.setTitle("Fehler");              alert.setHeaderText("Fehler!"); @@ -112,6 +117,7 @@ public class ArchiveOperationController {                  archiveOperationFlowPane.getChildren().add(opInAController.getRoot());              }          } catch (IOException e) { +            LOG.error("IOException in setFlowPane(). ", e);              Alert alert = new Alert(Alert.AlertType.ERROR);              alert.setTitle("Fehler");              alert.setHeaderText("Fehler!"); @@ -182,6 +188,7 @@ public class ArchiveOperationController {                  fpVehicles.getChildren().add(controller.getRoot());              }          } catch (IOException e) { +            LOG.error("IOException in setOperation(). ", e);              Alert alert = new Alert(Alert.AlertType.ERROR);              alert.setTitle("Fehler");              alert.setHeaderText("Fehler!");  | 
