Another String format
This commit is contained in:
parent
1c813b7352
commit
b1a83a95f6
@ -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>
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user