diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:37:27 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:37:27 +0000 |
commit | 1d5faf9901b5f8dfd90941282893a4184c6e14c4 (patch) | |
tree | 11cf976eb40874b1493b2e079fddcbaf28f7a8d3 /pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit | |
parent | 00cb465904f3a2f7febda41b19bbfe0dca8a1115 (diff) | |
download | pdf-over-1d5faf9901b5f8dfd90941282893a4184c6e14c4.tar.gz pdf-over-1d5faf9901b5f8dfd90941282893a4184c6e14c4.tar.bz2 pdf-over-1d5faf9901b5f8dfd90941282893a4184c6e14c4.zip |
Catch all exceptions thrown by PDF AS during signature prep
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@421 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit')
-rw-r--r-- | pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java index e05a8ad5..c42257f9 100644 --- a/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java +++ b/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java @@ -117,6 +117,8 @@ public class PDFASSigner implements Signer { throw new SignatureException(e); } catch (PdfAsException e) { throw new SignatureException(e); + } catch (Throwable t) { + throw new SignatureException(t); } } |