From 3ebac4319b2ec21de7de1c3d228c370ea0e4675b Mon Sep 17 00:00:00 2001 From: Iulian Dragos Date: Mon, 30 Jan 2006 10:15:18 +0000 Subject: Added more test files for try-catch blocks. --- test/files/run/exceptions-2.check | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 test/files/run/exceptions-2.check (limited to 'test/files/run/exceptions-2.check') diff --git a/test/files/run/exceptions-2.check b/test/files/run/exceptions-2.check new file mode 100644 index 0000000000..40edd78ca2 --- /dev/null +++ b/test/files/run/exceptions-2.check @@ -0,0 +1,31 @@ +nested1: +Innermost finally +Outermost finally +nested2: +Innermost finally +Outermost finally +mixed: +Finally! +10 +withValue1: +Oh, oh +10 +method2: +10 +Exception occurred +method3: +Exception occurred with stack trace: +java.lang.NullPointerException + at Test$.method3(exceptions-2.scala:108) + at Test$$anonfun5.apply(exceptions-2.scala:151) + at Test$$anonfun5.apply(exceptions-2.scala:151) + at Test$.execute(exceptions-2.scala:128) + at Test$.main(exceptions-2.scala:151) + at Test.main(exceptions-2.scala) +================= +NoExcep.method2: +Hello, world +NoExcep.method3: +method3 +NoExcep.method4: +.. -- cgit v1.2.3