diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-15 18:31:15 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-15 18:31:15 +0200 |
commit | f471f8da55137d49ae0c7215ebf2a3a29b2e1504 (patch) | |
tree | 4a1b47a816386ce6cf89af0e97615a5f5c66ca56 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper | |
parent | 6d0b21ccc18e1cd548441c3f857d94990b1f6f6e (diff) | |
download | pdf-as-4-f471f8da55137d49ae0c7215ebf2a3a29b2e1504.tar.gz pdf-as-4-f471f8da55137d49ae0c7215ebf2a3a29b2e1504.tar.bz2 pdf-as-4-f471f8da55137d49ae0c7215ebf2a3a29b2e1504.zip |
PDF-AS_WEB Error handling adaptions
Diffstat (limited to 'pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper')
-rw-r--r-- | pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java index 0a9a7e5e..3323a252 100644 --- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java +++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/helper/PdfAsHelper.java @@ -57,7 +57,7 @@ import at.gv.egiz.pdfas.api.ws.PDFASSignParameters; import at.gv.egiz.pdfas.api.ws.PDFASSignParameters.Connector; import at.gv.egiz.pdfas.api.ws.PDFASSignResponse; import at.gv.egiz.pdfas.api.ws.PDFASVerificationResponse; -import at.gv.egiz.pdfas.common.exceptions.PdfAsException; +import at.gv.egiz.pdfas.common.exceptions.PDFASError; import at.gv.egiz.pdfas.lib.api.ByteArrayDataSource; import at.gv.egiz.pdfas.lib.api.Configuration; import at.gv.egiz.pdfas.lib.api.PdfAs; @@ -520,7 +520,7 @@ public class PdfAsHelper { } public static byte[] generateVisualBlock(String profile, int resolution) - throws IOException, CertificateException, PdfAsException { + throws IOException, CertificateException, PDFASError { X509Certificate cert = new X509Certificate( PdfAsHelper.class.getResourceAsStream("/qualified.cer")); Configuration config = pdfAs.getConfiguration(); |