From 0218f08570f5c47f15b3e8a4780e855cebc83c64 Mon Sep 17 00:00:00 2001 From: Richard Cordovano Date: Wed, 24 May 2017 12:45:43 -0400 Subject: [PATCH] Supply missing bundle message for InterestingArtifactCreatorIngestModule --- .../test/InterestingArtifactCreatorIngestModule.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/test/InterestingArtifactCreatorIngestModule.java b/Core/src/org/sleuthkit/autopsy/test/InterestingArtifactCreatorIngestModule.java index 64d374d636..5e9a876ab6 100644 --- a/Core/src/org/sleuthkit/autopsy/test/InterestingArtifactCreatorIngestModule.java +++ b/Core/src/org/sleuthkit/autopsy/test/InterestingArtifactCreatorIngestModule.java @@ -21,6 +21,7 @@ package org.sleuthkit.autopsy.test; import java.util.logging.Level; import org.openide.util.Exceptions; +import org.openide.util.NbBundle; import org.sleuthkit.autopsy.casemodule.Case; import org.sleuthkit.autopsy.casemodule.services.Blackboard; import org.sleuthkit.autopsy.coreutils.Logger; @@ -35,7 +36,9 @@ import org.sleuthkit.datamodel.TskCoreException; * A file ingest module that creates some interestng artifacts * with attributes based on files for test purposes. */ - +@NbBundle.Messages({ + "InterestingArtifactCreatorIngestModule.exceptionMessage.errorCreatingCustomType=Error creating custom artifact type." +}) final class InterestingArtifactCreatorIngestModule extends FileIngestModuleAdapter { private static final Logger logger = Logger.getLogger(InterestingArtifactCreatorIngestModule.class.getName()); @@ -52,7 +55,7 @@ final class InterestingArtifactCreatorIngestModule extends FileIngestModuleAdapt try { artifactType = blackboard.getOrAddArtifactType(INT_ARTIFACT_TYPE_NAME, INT_ARTIFACT_DISPLAY_NAME); } catch (Blackboard.BlackboardException ex) { - throw new IngestModuleException(Bundle.ErrorCreatingCustomBlackBoardType(), ex); + throw new IngestModuleException(Bundle.InterestingArtifactCreatorIngestModule_exceptionMessage_errorCreatingCustomType(), ex); } }