public static void method() throws DigestException{
try{
method2();
}finally{
System.out.println("b");
}
System.out.println("c");
}
public static void method2(){
throw new NumberFormatException();
}
public static void main(String[] args) {
try{
method();
System.out.println("a");
}catch(Exception e){
System.out.println("d");
}
}
try{
method2();
}finally{
System.out.println("b");
}
System.out.println("c");
}
public static void method2(){
throw new NumberFormatException();
}
public static void main(String[] args) {
try{
method();
System.out.println("a");
}catch(Exception e){
System.out.println("d");
}
}