From 1d5faf9901b5f8dfd90941282893a4184c6e14c4 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:37:27 +0000 Subject: 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 --- .../src/main/java/at/asit/pdfover/signer/pdfas/PDFASSigner.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pdf-over-signer/pdf-over-sigpdfas/src/main/java') 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); } } -- cgit v1.2.3