From ea349f87b971751dfefc21a2bb60ce8a6d61061b Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:38:08 +0000 Subject: 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 --- .../asit/pdfover/gui/workflow/states/PrepareConfigurationState.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'pdf-over-gui/src/main/java') 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(); -- cgit v1.2.3