class A{
public static void main(String[]args){
int = 0;
try{
i = Integer.parseInt(args[0]);
}
catch()
System.out.println("this value of i is" + i);
}
例外が発生した場合、toStringを使用して例外を出力するにはどうすればよいですか。ここでは、コマンドライン引数を1つだけ想定しています。