summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java8
1 files changed, 3 insertions, 5 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
index 8e70f502..72e047c4 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java
@@ -455,16 +455,14 @@ public class AdvancedConfigurationComposite extends BaseConfigurationComposite {
String foldername = this.configurationContainer.getOutputFolder();
- if (foldername != null && !foldername.equals("")) {
+ if (foldername != null && !foldername.equals("")) { //$NON-NLS-1$
File outputFolder = new File(foldername);
if (!outputFolder.exists()) {
- throw new Exception("Path " + outputFolder.getAbsolutePath()
- + " doesnot exists!");
+ throw new Exception(String.format(Messages.getString("exception.PathNotExist"), outputFolder.getAbsolutePath())); //$NON-NLS-1$
}
if (!outputFolder.isDirectory()) {
- throw new Exception("Path " + outputFolder.getAbsolutePath()
- + " is not a directory!");
+ throw new Exception(String.format(Messages.getString("exception.PathNotDirectory"), outputFolder.getAbsolutePath())); //$NON-NLS-1$
}
}
}