md5hash should not fail silently

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776828 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2017-01-01 06:58:01 +00:00
parent 11c8858f6e
commit 4ed96136ec
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class TestEmbeddedExtractor {
return DatatypeConverter.printBase64Binary(hash);
} catch (NoSuchAlgorithmException e) {
// doesn't happen
return "";
throw new RuntimeException(e);
}
}
}