diff options
Diffstat (limited to 'pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java')
-rw-r--r-- | pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java index 1145619..a8a150e 100644 --- a/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java +++ b/pdf-as-lib/src/main/java/at/knowcenter/wag/egov/egiz/pdf/PDFSignatureObjectIText.java @@ -418,7 +418,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject logger_.debug("Image file declaration is relative. Prepending path of resources directory.");
img_file = new File(SettingsReader.relocateFile(img_ref));
} else {
- logger_.debug("Image file declaration is absolute. Skipping file relocation.");
+ logger_.debug("Image file declaration is absolute. Skipping file relocation.");
}
// String img_location = SettingsReader.relocateFile(img_ref);
// File img_file = new File (img_location);
@@ -447,7 +447,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject {
logger_.error("BadElementException:" + e.getMessage());
}
- PDFDocumentException pde = new PDFDocumentException(220, "PDF table can not created");
+ PDFDocumentException pde = new PDFDocumentException(220, "Unable to create PDF table.");
throw pde;
}
catch (MalformedURLException e)
@@ -456,7 +456,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject {
logger_.error("MalformedURLException:" + e.getMessage());
}
- PDFDocumentException pde = new PDFDocumentException(221, "PDF table can not created");
+ PDFDocumentException pde = new PDFDocumentException(221, "Unable to create PDF table.");
throw pde;
}
catch (IOException e)
@@ -465,7 +465,7 @@ public class PDFSignatureObjectIText implements PDFSignatureObject {
logger_.error("Error Code: 222, IOException:" + e.getMessage());
}
- PDFDocumentException pde = new PDFDocumentException(222, "PDF table can not created: Image can not loaded");
+ PDFDocumentException pde = new PDFDocumentException(222, "Unable to create PDF table, unable to load image.");
throw pde;
}
break;
|