aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-lib/src/main/java/at/gv/egiz/sl
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-16 12:45:01 +0200
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2014-10-16 12:45:01 +0200
commit63784f692a50606f34702706761edac052fdac60 (patch)
tree50f78a92c35cdfced053209a334944acdee2b983 /pdf-as-lib/src/main/java/at/gv/egiz/sl
parent7b105bafe5a1f4c01224c8ae0b820a478b09447f (diff)
downloadpdf-as-4-63784f692a50606f34702706761edac052fdac60.tar.gz
pdf-as-4-63784f692a50606f34702706761edac052fdac60.tar.bz2
pdf-as-4-63784f692a50606f34702706761edac052fdac60.zip
Introduced PDF-AS Backends, removed all pdfbox specific code to pdfbox backend
Diffstat (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/sl')
-rw-r--r--pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
index a152dcf6..8907711a 100644
--- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
+++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/BKUSLConnector.java
@@ -38,12 +38,12 @@ import org.apache.http.entity.ContentType;
import org.apache.http.entity.mime.MultipartEntityBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClientBuilder;
-import org.apache.pdfbox.exceptions.WrappedIOException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import at.gv.egiz.pdfas.common.exceptions.PDFIOException;
import at.gv.egiz.pdfas.common.exceptions.PdfAsException;
+import at.gv.egiz.pdfas.common.exceptions.PdfAsWrappedIOException;
import at.gv.egiz.pdfas.common.exceptions.SLPdfAsException;
import at.gv.egiz.pdfas.common.utils.PDFUtils;
import at.gv.egiz.pdfas.lib.api.Configuration;
@@ -114,7 +114,7 @@ public class BKUSLConnector extends BaseSLConnector {
logger.trace(result.toString());
return result.toString();
} catch (PDFIOException e) {
- throw new WrappedIOException(e);
+ throw new PdfAsWrappedIOException(e);
} finally {
if(client != null) {
client.close();