BOO-907: Raised strings are now wrapped in a System.Exception instead of a System...
[boo.git] / tests / testcases / integration / statements / raise-1.boo
blob2a5678b67064bc7b5020dcd19268d0c209feeceb
1 """
2 error!
4 """
5 try:
6 raise "error!"
7 except x as System.ApplicationException:
8 print "String is raised as ${x.GetType()}"
9 except x as System.Exception:
10 print(x.Message)