projects
/
mate.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
codegen: handle exceptions of a method
[mate.git]
/
tests
/
Exception2.java
diff --git a/tests/Exception2.java
b/tests/Exception2.java
new file mode 100644
(file)
index 0000000..
ae4bc86
--- /dev/null
+++ b/
tests/Exception2.java
@@ -0,0
+1,11
@@
+package tests;
+
+public class Exception2 {
+ public static void main(String []args) {
+ try {
+ throw new NullPointerException();
+ } catch (NullPointerException _) {
+ System.out.printf("NullPointerException\n");
+ }
+ }
+}