diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2006-01-30 10:15:18 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2006-01-30 10:15:18 +0000 |
commit | 3ebac4319b2ec21de7de1c3d228c370ea0e4675b (patch) | |
tree | 2976801fde5a2c954dc4966f97ec45a1b2370744 /test/files/run/exceptions-2.check | |
parent | 60a0f3e591711a407a2f155b0b0341c509707213 (diff) | |
download | scala-3ebac4319b2ec21de7de1c3d228c370ea0e4675b.tar.gz scala-3ebac4319b2ec21de7de1c3d228c370ea0e4675b.tar.bz2 scala-3ebac4319b2ec21de7de1c3d228c370ea0e4675b.zip |
Added more test files for try-catch blocks.
Diffstat (limited to 'test/files/run/exceptions-2.check')
-rw-r--r-- | test/files/run/exceptions-2.check | 31 |
1 files changed, 31 insertions, 0 deletions
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: +.. |