Why is the stack trace Exception in thread "main" java.lang.ArithmeticException: 3
and not Exception in thread "main" java.lang.ArithmeticException: 1
?
Isn't ArithmeticException("1")
thrown first?
try{
try{
throw new ArithmeticException("1");
}finally{
throw new ArithmeticException("2");
}
}finally{
throw new ArithmeticException("3");
}