fork download
  1. import java.util.*;
  2. import java.lang.*;
  3.  
  4. class Main
  5. {
  6. public static void callMe() throws Exception {
  7. try {
  8. if (true) throw new Exception("First!");
  9. System.out.println("You can't see me..");
  10. } finally {
  11. if (true) throw new Exception("Second!");
  12. System.out.println("You can't see me either");
  13. }
  14. }
  15.  
  16. public static void main (String[] args) {
  17. try {
  18. callMe();
  19. } catch (Exception e) {
  20. e.printStackTrace();
  21. }
  22. }
  23. }
Success #stdin #stdout 0.03s 245632KB
stdin
Standard input is empty
stdout
Standard output is empty