diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-02-04 08:36:05 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-02-04 08:36:05 +0100 |
commit | 6b692931c81fd0e09d8d21eb81e05a5f08af8342 (patch) | |
tree | 9ee012c549cf0e4e4af05de4ff28920bb603e7e2 /pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions | |
parent | 09dfbe9ba1b1f4469044b4bf1004df3740a8ae9d (diff) | |
download | pdf-as-4-6b692931c81fd0e09d8d21eb81e05a5f08af8342.tar.gz pdf-as-4-6b692931c81fd0e09d8d21eb81e05a5f08af8342.tar.bz2 pdf-as-4-6b692931c81fd0e09d8d21eb81e05a5f08af8342.zip |
Implemented PDF Document permission check
Diffstat (limited to 'pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions')
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsValidationException.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsValidationException.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsValidationException.java index b8a5fc62..95380794 100644 --- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsValidationException.java +++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/common/exceptions/PdfAsValidationException.java @@ -16,6 +16,11 @@ public class PdfAsValidationException extends PdfAsException { this.parameter = parameter; } + public PdfAsValidationException(String msgId, String parameter, Throwable e) { + super(msgId, e); + this.parameter = parameter; + } + @Override protected String localizeMessage(String msgId) { if(parameter != null) { |