File tree Expand file tree Collapse file tree
src/main/java/org/apache/commons/codec/digest Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1072,6 +1072,8 @@ public DigestUtils update(final String data) {
10721072 * @param data
10731073 * the data to update the {@link MessageDigest} with
10741074 * @return the updated {@link DigestUtils}
1075+ * @throws IOException
1076+ * If some I/O error occurs.
10751077 * @since 1.11
10761078 */
10771079 public DigestUtils update (final InputStream data ) throws IOException {
@@ -1091,6 +1093,10 @@ public DigestUtils update(final InputStream data) throws IOException {
10911093 * @param data
10921094 * the data to update the {@link MessageDigest} with
10931095 * @return the updated {@link DigestUtils}
1096+ * @throws IOException
1097+ * If some I/O error occurs.
1098+ * @throws SecurityException
1099+ * if a security manager exists and its {@code checkRead} method denies read access to the file.
10941100 * @since 1.11
10951101 */
10961102 public DigestUtils update (final File data ) throws IOException {
You can’t perform that action at this time.
0 commit comments