summaryrefslogblamecommitdiff
path: root/test/files/run/exceptions-2.check
blob: e67f147506c12708676f4b5cced761252457ceef (plain) (tree)


















                                                



                                                        
                                        





                                    






                 
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)
tryFinallyTry:
Silently ignore exception in finally
valInFinally:
Abc
tryAndValInFinally
Abc
=================
NoExcep.method2:
Hello, world
NoExcep.method3:
method3
NoExcep.method4:
..