diff --git a/src/main/java/com/github/pjfanning/xlsx/impl/StreamingWorkbookReader.java b/src/main/java/com/github/pjfanning/xlsx/impl/StreamingWorkbookReader.java index e1b2a114..b4763e7d 100644 --- a/src/main/java/com/github/pjfanning/xlsx/impl/StreamingWorkbookReader.java +++ b/src/main/java/com/github/pjfanning/xlsx/impl/StreamingWorkbookReader.java @@ -71,7 +71,7 @@ public StreamingWorkbookReader(Builder builder) { * @throws ReadException if an error occurs while reading the file * @throws ParseException if an error occurs while parsing the file */ - public void init(InputStream is) { + public void init(InputStream is) throws OpenException, ReadException, ParseException { if (builder.avoidTempFiles()) { try { if(builder.getPassword() != null) {