diff --git a/Core/src/org/sleuthkit/autopsy/timeline/actions/AddManualEvent.java b/Core/src/org/sleuthkit/autopsy/timeline/actions/AddManualEvent.java index e9a2c378ac..609f4081de 100644 --- a/Core/src/org/sleuthkit/autopsy/timeline/actions/AddManualEvent.java +++ b/Core/src/org/sleuthkit/autopsy/timeline/actions/AddManualEvent.java @@ -28,6 +28,7 @@ import java.util.Objects; import java.util.logging.Level; import javafx.application.Platform; import javafx.fxml.FXML; +import javafx.scene.control.Alert; import javafx.scene.control.ButtonType; import javafx.scene.control.ChoiceBox; import javafx.scene.control.ComboBox; @@ -131,6 +132,10 @@ public class AddManualEvent extends Action { * * @throws IllegalArgumentException */ + @NbBundle.Messages({ + "AddManualEvent.createArtifactFailed=Failed to create artifact for event.", + "AddManualEvent.postArtifactFailed=Failed to post artifact to blackboard." + }) private void addEvent(ManualEventInfo eventInfo) throws IllegalArgumentException { SleuthkitCase sleuthkitCase = controller.getEventsModel().getSleuthkitCase(); @@ -154,9 +159,11 @@ public class AddManualEvent extends Action { sleuthkitCase.getBlackboard().postArtifact(artifact, source); } catch (Blackboard.BlackboardException ex) { logger.log(Level.SEVERE, "Error posting artifact to the blackboard.", ex); + new Alert(Alert.AlertType.ERROR, Bundle.AddManualEvent_postArtifactFailed(), ButtonType.OK).showAndWait(); } } catch (TskCoreException ex) { logger.log(Level.SEVERE, "Error creatig new artifact.", ex); + new Alert(Alert.AlertType.ERROR, Bundle.AddManualEvent_createArtifactFailed(), ButtonType.OK).showAndWait(); } } diff --git a/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties b/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties index a1bd6b0e6a..46410a1b4e 100644 --- a/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties +++ b/branding/core/core.jar/org/netbeans/core/startup/Bundle.properties @@ -1,5 +1,5 @@ #Updated by build script -#Wed, 06 Mar 2019 16:04:26 +0100 +#Fri, 08 Mar 2019 12:24:19 +0100 LBL_splash_window_title=Starting Autopsy SPLASH_HEIGHT=314 SPLASH_WIDTH=538