corda/classpath/TestExceptions.java

22 lines
414 B
Java
Raw Normal View History

2007-06-30 02:39:01 +00:00
public class TestExceptions {
private static void evenMoreDangerous() {
throw new RuntimeException("chaos! panic! overwhelming anxiety!");
}
private static void moreDangerous() {
// synchronized (TestExceptions.class) {
evenMoreDangerous();
// }
2007-06-30 02:39:01 +00:00
}
private static void dangerous() {
moreDangerous();
}
public static void main(String[] args) {
dangerous();
}
}