summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:38:08 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:38:08 +0000
commitea349f87b971751dfefc21a2bb60ce8a6d61061b (patch)
treeec9e5de096f2c9abd33c30f5e1f87de7a8ea5ed9 /pdf-over-gui/src/main/java
parent53f444f8bfc71219024b9bf1be26c7c0ccd9d68f (diff)
downloadmocca-ea349f87b971751dfefc21a2bb60ce8a6d61061b.tar.gz
mocca-ea349f87b971751dfefc21a2bb60ce8a6d61061b.tar.bz2
mocca-ea349f87b971751dfefc21a2bb60ce8a6d61061b.zip
Display cmd line error msg in gui
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@427 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java
index 9bdf4de2..bf0694d4 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java
@@ -284,7 +284,8 @@ public class PrepareConfigurationState extends State {
log.error("Error in cmd line arguments: ", e); //$NON-NLS-1$
ErrorDialog error = new ErrorDialog(this.stateMachine
.getGUIProvider().getMainShell(),
- Messages.getString("error.CmdLineArgs"), //$NON-NLS-1$
+ Messages.getString("error.CmdLineArgs") + "\n" + //$NON-NLS-1$ //$NON-NLS-2$
+ e.getMessage(),
BUTTONS.OK);
error.open();
this.stateMachine.exit();
@@ -312,7 +313,8 @@ public class PrepareConfigurationState extends State {
} else {
error = new ErrorDialog(this.stateMachine
.getGUIProvider().getMainShell(),
- Messages.getString("error.CmdLineArgs"), //$NON-NLS-1$
+ Messages.getString("error.CmdLineArgs") + "\n" + //$NON-NLS-1$ //$NON-NLS-2$
+ e.getMessage(),
BUTTONS.OK);
}
error.open();