repo.or.cz
/
boo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping construc...
[boo.git]
/
tests
/
testcases
/
integration
/
statements
/
try-2.boo
blob
7d8a4d9269a417504cfd94d5398534290dc476c8
1
"""
2
caught!
3
should have passed here first!
4
should end up here!
5
6
"""
7
try
:
8
raise
System
.
ApplicationException
(
"caught!"
)
9
print
(
"should not get here!"
)
10
except
x
:
11
print
(
x
.
Message
)
12
ensure
:
13
print
(
"should have passed here first!"
)
14
print
(
"should end up here!"
);