summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src
diff options
context:
space:
mode:
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;