Another String format

This commit is contained in:
Didier Clermonté 2016-08-21 11:49:57 +02:00
parent 1c813b7352
commit b1a83a95f6
2 changed files with 2 additions and 2 deletions

View File

@ -26,6 +26,6 @@
<classpathentry kind="lib" path="lib/commons-io-2.5-src.jar"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.4-src.jar"/>
<classpathentry kind="lib" path="lib/jgoodies-forms-1.8.0-sources.jar"/>
<classpathentry kind="lib" path="lib/devinsy-utils-0.3.1.jar"/>
<classpathentry kind="lib" path="lib/devinsy-utils-0.3.1.jar" sourcepath="lib/devinsy-utils-0.3.1-sources.zip"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -99,7 +99,7 @@ public final class SibaGUI
}
else
{
message = "An error occured: " + exception.getClass() + "(" + exception.getMessage() + ")";
message = String.format("An error occured: %1s(%2s)", exception.getClass(), exception.getMessage());
}
JOptionPane.showMessageDialog(SibaGUI.this.frmSimpleBackup, message, "Error",