Skip to content

Request: Exception Handling in PdfConverterExtension #355

Open
@Nexxurs

Description

@Nexxurs

Is your feature request related to a problem? Please describe.
The following Problem happened to me, when I tried to export a pdf, that already exists and is currently opened by Acrobat Reader.

In the PdfConverterExtension class, Line 102, the possible FileNotFoundException while creating the FileOutputStream is "ignored" and only handled by PrintStacktrace, which makes handling that error impossible.

Describe the solution you'd like
Delegate the Exception, although that would break already existing builds. I'm open to suggestions.

Additional context
I've found 33 occurrencies of e.printStackTrace(), which probably should be dealt with, one way or another.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions