diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-09-30 13:51:08 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-09-30 13:51:08 +0200 |
commit | 529e08cd21115834dc9887305a8d199ea83638d2 (patch) | |
tree | 28c2ad696a9bf49d194216a7df1e1c2ca7258b0f /pdf-over-signer/src/main/java | |
parent | 5a8c5930033509d66010069bd7cdfc6458c30050 (diff) | |
download | pdf-over-529e08cd21115834dc9887305a8d199ea83638d2.tar.gz pdf-over-529e08cd21115834dc9887305a8d199ea83638d2.tar.bz2 pdf-over-529e08cd21115834dc9887305a8d199ea83638d2.zip |
get rid of unneeded fields in SLResponse
Diffstat (limited to 'pdf-over-signer/src/main/java')
-rw-r--r-- | pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4BKUSLConnector.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4BKUSLConnector.java b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4BKUSLConnector.java index a78e33c6..df094718 100644 --- a/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4BKUSLConnector.java +++ b/pdf-over-signer/src/main/java/at/asit/pdfover/signer/pdfas/PdfAs4BKUSLConnector.java @@ -79,6 +79,11 @@ public class PdfAs4BKUSLConnector extends BaseSLConnector { } catch (PdfAs4SLRequestException e) { throw new PDFIOException("error.pdf.io.03", e); } catch (SignatureException e) { + Throwable e2 = e; + while (e2.getCause() != null) + e2 = e2.getCause(); + /*if (e2 instanceof IllegalStateException) // user cancelled (TODO: this is a pretty big hack honestly) + return null;*/ throw new PDFIOException("error.pdf.io.03", e); } |