diff options
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java index 8e70f502..72e047c4 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/AdvancedConfigurationComposite.java +++ b/trunk/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$ } } } |