corda/classpath/TestExceptions.java

20 lines
350 B
Java
Raw Normal View History

2007-06-29 20:39:01 -06:00
public class TestExceptions {
private static void evenMoreDangerous() {
throw new RuntimeException("chaos! panic! overwhelming anxiety!");
}
private static void moreDangerous() {
2007-07-01 19:42:35 -06:00
evenMoreDangerous();
2007-06-29 20:39:01 -06:00
}
private static void dangerous() {
moreDangerous();
}
public static void main(String[] args) {
dangerous();
}
}