import org.pureprogrammer.Utils; public class Exceptions3 { public static void main(String[] args) { int i = 0; double d = 0; try { i = Integer.parseInt(args[0]); d = Double.parseDouble(args[1]); System.out.println(Utils.format("i + d = {0:f}", i + d)); } catch (Exception ex) { System.out.println("Can't convert command line argument!"); } } }