class A {
public static void one() {
System.out.println("begin one");
B.two();
System.out.println("end one");
}
}
class B {
public static void two() {
System.out.println("begin two");
Throwable t = new Throwable();
t.printStackTrace();
System.out.println("end two");
}
}
public class Throw {
public static void main (String [] args) {
A.one();
}
}