diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-30 16:07:38 +0100 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-30 16:07:38 +0100 |
commit | 55202c5111aff0df2f1b8e913326528c82eb43de (patch) | |
tree | 4b1036065fcf31e6939b4d9f0c4a8b33f2db112a /pdf-as-lib | |
parent | 5fb8f5efb4400d1a55b89d4150ca2b55918f2702 (diff) | |
download | pdf-as-4-55202c5111aff0df2f1b8e913326528c82eb43de.tar.gz pdf-as-4-55202c5111aff0df2f1b8e913326528c82eb43de.tar.bz2 pdf-as-4-55202c5111aff0df2f1b8e913326528c82eb43de.zip |
Fixed Generic Error Bug
Diffstat (limited to 'pdf-as-lib')
-rw-r--r-- | pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/ErrorExtractor.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/ErrorExtractor.java b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/ErrorExtractor.java index 8c2451e3..6708fc5b 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/ErrorExtractor.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/pdfas/lib/impl/ErrorExtractor.java @@ -66,6 +66,11 @@ public class ErrorExtractor implements ErrorConstants { break; } } + + if(err != null) { + return err; + } + cur = e; // Search other reasons for (int i = 0; i < MAX_CAUSE_DEPTH; i++) { |