summaryrefslogtreecommitdiff
path: root/test/files/run/exceptions-2.check
blob: 3a461f12875d88299e6456a87d59011fa8ff900c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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$$anonfun$5.apply(exceptions-2.scala:180)
	at Test$$anonfun$5.apply(exceptions-2.scala:180)
	at Test$.execute(exceptions-2.scala:157)
	at Test$.main(exceptions-2.scala:180)
	at Test.main(exceptions-2.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at scala.tools.nsc.ObjectRunner$.run(ObjectRunner.scala:27)
	at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:62)
	at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)
tryFinallyTry:
Silently ignore exception in finally
valInFinally:
Abc
tryAndValInFinally
Abc
=================
NoExcep.method2:
Hello, world
NoExcep.method3:
method3
NoExcep.method4:
..