summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-10-06 11:11:09 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-10-06 11:11:09 +0200
commit75ce8c3a91d8b80bcc6bc7bd6e083606215f7262 (patch)
tree43f26870124fc83f817e807963733e5ab1f2f85a /pdf-over-gui/src
parenta0f9a3dabdb4cdfbbb2257b9e6277d4c5fee4a34 (diff)
downloadpdf-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/src')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/SigningState.java10
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;