diff options
Diffstat (limited to 'altosui/AltosLaunchUI.java')
| -rw-r--r-- | altosui/AltosLaunchUI.java | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/altosui/AltosLaunchUI.java b/altosui/AltosLaunchUI.java index 4e630afb..47365e03 100644 --- a/altosui/AltosLaunchUI.java +++ b/altosui/AltosLaunchUI.java @@ -164,8 +164,7 @@ public class AltosLaunchUI  	void launch_exception(Exception e) {  		if (e instanceof FileNotFoundException) {  			JOptionPane.showMessageDialog(owner, -						      String.format("Cannot open device \"%s\"", -								    device.toShortString()), +						      ((FileNotFoundException) e).getMessage(),  						      "Cannot open target device",  						      JOptionPane.ERROR_MESSAGE);  		} else if (e instanceof AltosSerialInUseException) {  | 
