Am 01.02.2019 um 13:49 schrieb gavinr...@pseudocoder.co.uk:

org.apache.pdfbox.pdmodel.encryption.PublicKeySecurityHandler;


There are several instances where a Security Exception is caught and thrown as IOException.

Is there a particular reason for this?

I would have expected GeneralSecurityException as a throws value.


Probably historical. But we can't change it because this would be a breaking change. Even if we do, there is a "rule" that one shouldn't throw more than one checked exception.

Tilman



Kind Regards

Gavin


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: users-h...@pdfbox.apache.org

Reply via email to