From 94947d154c54e6749698f2b495410cf567f15e43 Mon Sep 17 00:00:00 2001 From: jmillman Date: Mon, 21 Mar 2016 15:34:39 -0400 Subject: [PATCH] document TskCoreException --- .../autopsy/modules/filetypeid/FileTypeDetector.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java index b25dda2a35..89a3832996 100644 --- a/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java +++ b/Core/src/org/sleuthkit/autopsy/modules/filetypeid/FileTypeDetector.java @@ -158,7 +158,8 @@ public class FileTypeDetector { * @return A MIME type name. If file type could not be detected or results * were uncertain, octet-stream is returned. * - * @throws TskCoreException + * @throws TskCoreException If there is a problem writing the result to the + * case database. */ public String detect(AbstractFile file) throws TskCoreException { return detect(file, false); @@ -175,7 +176,8 @@ public class FileTypeDetector { * @return A MIME type name. If file type could not be detected or results * were uncertain, octet-stream is returned. * - * @throws TskCoreException + * @throws TskCoreException If there is a problem writing the result to the + * case database. */ private String detect(AbstractFile file, boolean postToBlackBoard) throws TskCoreException { String mimeType = file.getMIMEType();