Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
COSVisitorException is redundant, it is a simple wrapper for SignatureException, CryptographyException and NoSuchAlgorithmException and should be replaced by those exceptions directly.
For example, we can replace:
public void write(PDDocument doc) throws COSVisitorException
With:
public void write(PDDocument doc) throws IOException, CryptographyException
and so on...