summaryrefslogtreecommitdiffstats
path: root/test/008-exceptions/expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/008-exceptions/expected.txt')
-rw-r--r--test/008-exceptions/expected.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/008-exceptions/expected.txt b/test/008-exceptions/expected.txt
new file mode 100644
index 0000000..ef6eaff
--- /dev/null
+++ b/test/008-exceptions/expected.txt
@@ -0,0 +1,9 @@
+Got an NPE: second throw
+java.lang.NullPointerException: second throw
+ at Main.catchAndRethrow(Main.java:39)
+ at Main.exceptions_007(Main.java:23)
+ at Main.main(Main.java:31)
+Caused by: java.lang.NullPointerException: first throw
+ at Main.throwNullPointerException(Main.java:46)
+ at Main.catchAndRethrow(Main.java:36)
+ ... 2 more