aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception
diff options
context:
space:
mode:
authorThomas <>2024-10-25 12:54:46 +0200
committerThomas <>2024-10-25 12:54:46 +0200
commitc72cfafb1a490fab5033eadf65f165f5d261f0fa (patch)
tree2f10ea2a3c4143fefcf3a718f463e69d408809b8 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception
parent372a92122c9d7cf76a51e8100f2e83e53eac711f (diff)
downloadpdf-as-4-c72cfafb1a490fab5033eadf65f165f5d261f0fa.tar.gz
pdf-as-4-c72cfafb1a490fab5033eadf65f165f5d261f0fa.tar.bz2
pdf-as-4-c72cfafb1a490fab5033eadf65f165f5d261f0fa.zip
chore(sl1): optimize error-handling on SL1 data-url end-point
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception/PdfAsSecurityLayerException.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception/PdfAsSecurityLayerException.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception/PdfAsSecurityLayerException.java
index 08577034..bc5a4d02 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception/PdfAsSecurityLayerException.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/exception/PdfAsSecurityLayerException.java
@@ -33,5 +33,10 @@ public class PdfAsSecurityLayerException extends Exception {
public PdfAsSecurityLayerException(String info, int errorcode) {
super("SecurityLayer Error: [" + errorcode + "] " + info);
}
+
+ public PdfAsSecurityLayerException(String info, int errorcode, Exception e) {
+ super("SecurityLayer Error: [" + errorcode + "] " + info, e);
+
+ }
}