Skip to content

Commit

Permalink
Merge pull request #460 from leonorader/exception-to-ioexception
Browse files Browse the repository at this point in the history
changes Exception to IOException in PdfRendererBuilder fixes #406
  • Loading branch information
danfickle authored Mar 23, 2020
2 parents 1a6d2c9 + f434dac commit 473d9e4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import com.openhtmltopdf.util.XRLog;

import org.apache.pdfbox.pdmodel.PDDocument;

import java.io.IOException;
import java.io.OutputStream;
import java.util.logging.Level;

Expand All @@ -30,9 +32,9 @@ public PdfRendererBuilder() {
* Run the XHTML/XML to PDF conversion and output to an output stream set by
* toStream.
*
* @throws Exception
* @throws IOException
*/
public void run() throws Exception {
public void run() throws IOException {
PdfBoxRenderer renderer = null;
try {
renderer = this.buildPdfRenderer();
Expand Down

0 comments on commit 473d9e4

Please sign in to comment.