document TskCoreException

This commit is contained in:
jmillman 2016-03-21 15:34:39 -04:00
parent ca044a8cb9
commit 94947d154c

View File

@ -158,7 +158,8 @@ public class FileTypeDetector {
* @return A MIME type name. If file type could not be detected or results * @return A MIME type name. If file type could not be detected or results
* were uncertain, octet-stream is returned. * 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 { public String detect(AbstractFile file) throws TskCoreException {
return detect(file, false); 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 * @return A MIME type name. If file type could not be detected or results
* were uncertain, octet-stream is returned. * 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 { private String detect(AbstractFile file, boolean postToBlackBoard) throws TskCoreException {
String mimeType = file.getMIMEType(); String mimeType = file.getMIMEType();