X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mate.git;a=blobdiff_plain;f=tests%2FException2.java;fp=tests%2FException2.java;h=ae4bc864b51c94bc9a5911c0112a951a9b90ead8;hp=0000000000000000000000000000000000000000;hb=c541c18161f42753454ab94bbc5e1a43ef89ae40;hpb=de9b805eb93b4a39c03e9f7e1cda62c674c87fe3 diff --git a/tests/Exception2.java b/tests/Exception2.java new file mode 100644 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"); + } + } +}