summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareConfigurationState.java6
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties2
-rw-r--r--pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties2
3 files changed, 6 insertions, 4 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();
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
index 83e30e18..e2247ec0 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages.properties
@@ -61,7 +61,7 @@ config.Simple=Basi&c
dataSourceSelection.DropLabel=Drag document here
dataSourceSelection.DropLabel2=or...
dataSourceSelection.browse=&Browse for PDF on your computer
-error.CmdLineArgs=Error parsing the command-line arguments
+error.CmdLineArgs=Error parsing the command-line arguments:
error.Details=Details
error.EnteredReferenceValue=You entered the reference value!
error.FailedToGetSignedDocument=Failed to get signed document.
diff --git a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
index 3b9b841c..9e15c8f8 100644
--- a/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
+++ b/pdf-over-gui/src/main/resources/at/asit/pdfover/gui/messages_de.properties
@@ -61,7 +61,7 @@ config.Simple=&Einfach
dataSourceSelection.DropLabel=Dokument hierher ziehen
dataSourceSelection.DropLabel2=oder...
dataSourceSelection.browse=&Durchsuchen um ein Dokument zu wählen
-error.CmdLineArgs=Fehler bei den Befehlszeilen-Parametern
+error.CmdLineArgs=Fehler bei den Befehlszeilen-Parametern:
error.Details=Details
error.EnteredReferenceValue=Sie haben den Vergleichswert eingegeben!
error.FailedToGetSignedDocument=Konnte signiertes Dokument nicht erhalten.