diff options
author | Thomas <> | 2023-12-19 14:34:22 +0100 |
---|---|---|
committer | Thomas <> | 2023-12-19 14:34:22 +0100 |
commit | 9d00067f8f5910f246466bfbfabe0dfb713e7ff0 (patch) | |
tree | 721c37264e071456e4877e5a0921e696002a9b9f /pdf-as-common | |
parent | 1bf5a6f022837a28a41778f68c1b278bd2462512 (diff) | |
download | pdf-as-4-9d00067f8f5910f246466bfbfabe0dfb713e7ff0.tar.gz pdf-as-4-9d00067f8f5910f246466bfbfabe0dfb713e7ff0.tar.bz2 pdf-as-4-9d00067f8f5910f246466bfbfabe0dfb713e7ff0.zip |
fix(core): optimize error-handling in case of errors during the raw signing steps
Diffstat (limited to 'pdf-as-common')
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsWrappedIOException.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsWrappedIOException.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsWrappedIOException.java index 4a67abac..575dbdce 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsWrappedIOException.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsWrappedIOException.java @@ -36,4 +36,8 @@ public class PdfAsWrappedIOException extends IOException { super(e); } + public PdfAsException getDecoratedException() { + return (PdfAsException) getCause(); + } + } |