diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-06 11:11:09 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-10-06 11:11:09 +0200 |
commit | 75ce8c3a91d8b80bcc6bc7bd6e083606215f7262 (patch) | |
tree | 43f26870124fc83f817e807963733e5ab1f2f85a /pdf-over-gui | |
parent | a0f9a3dabdb4cdfbbb2257b9e6277d4c5fee4a34 (diff) | |
download | pdf-over-75ce8c3a91d8b80bcc6bc7bd6e083606215f7262.tar.gz pdf-over-75ce8c3a91d8b80bcc6bc7bd6e083606215f7262.tar.bz2 pdf-over-75ce8c3a91d8b80bcc6bc7bd6e083606215f7262.zip |
re-do the #52 hack to avoid dependency on atruststatus
Diffstat (limited to 'pdf-over-gui')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java index 169aefb8..b02ac057 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java @@ -91,16 +91,6 @@ public class SigningState extends State { } if(this.threadException != null) { - // workaround for PDF-AS nullpointerexception intercepting our IllegalStateException - // cf. issue #52 - // this is a bit of a hack... - if (status.getPreviousState() instanceof MobileBKUState) - { - String mobileBkuError = ((MobileBKUState)status.getPreviousState()).status.errorMessage; - if ("cancel".equals(mobileBkuError)) - this.threadException = new SignatureException(new IllegalStateException()); - } - String message = Messages.getString("error.Signatur"); if (this.threadException instanceof SignatureException) { Throwable cause = this.threadException; |