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 2ea45dd2c9
commit abf3eb7d84
1 changed files with 1 additions and 1 deletions

View File

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