summaryrefslogblamecommitdiff
path: root/test/files/run/exceptions-2.check
blob: 0cfb9a6a8cd64c1c054650e120a215c6ca6ae4cf (plain) (tree)
1
2
3
4
5
6
7
8
9






                 
  
        






                  
             





                                    






                 







                                
nested1: 
Innermost finally
Outermost finally
nested2: 
Innermost finally
Outermost finally
mixed: 
10
Finally!
withValue1:
Oh, oh
10
method2:
10
Exception occurred
method3:
Cought an NPE
tryFinallyTry:
Silently ignore exception in finally
valInFinally:
Abc
tryAndValInFinally
Abc
=================
NoExcep.method2:
Hello, world
NoExcep.method3:
method3
NoExcep.method4:
..
Return inside body:
Normal execution...
inner finally
Outer finally
Return inside synchronized body:
Synchronized normal execution...
inner finally
Outer finally