aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-15 18:31:15 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-15 18:31:15 +0200
commitf471f8da55137d49ae0c7215ebf2a3a29b2e1504 (patch)
tree4a1b47a816386ce6cf89af0e97615a5f5c66ca56 /pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets
parent6d0b21ccc18e1cd548441c3f857d94990b1f6f6e (diff)
downloadpdf-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/servlets')
-rw-r--r--pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VisBlockServlet.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VisBlockServlet.java b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VisBlockServlet.java
index 3008c25e..1ee6f0f8 100644
--- a/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VisBlockServlet.java
+++ b/pdf-as-web/src/main/java/at/gv/egiz/pdfas/web/servlets/VisBlockServlet.java
@@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import at.gv.egiz.pdfas.common.exceptions.PdfAsException;
+import at.gv.egiz.pdfas.common.exceptions.PDFASError;
import at.gv.egiz.pdfas.web.helper.PdfAsHelper;
public class VisBlockServlet extends HttpServlet {
@@ -85,7 +85,7 @@ public class VisBlockServlet extends HttpServlet {
} catch (CertificateException e) {
logger.error("CERT Error", e);
throw new ServletException("Failed to find certificate");
- } catch (PdfAsException e) {
+ } catch (PDFASError e) {
logger.error("PDF_AS Error", e);
throw new ServletException("Generic Error");
}