codegen: handle exceptions of a method
[mate.git] / tests / Exception1.java
1 package tests;
2
3 public class Exception1 {
4         public static void main(String []args) {
5                 try {
6                         System.out.printf("hello exception stuff\n");
7                 } catch (NullPointerException _) {
8                         System.out.printf("NullPointerException\n");
9                 }
10         }
11 }