Skip to content

changes Exception to IOException in PdfRendererBuilder #406 #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 23, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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