Exceptions: Difference between revisions
m
→{{header|Oforth}}
Line 1,669:
It is also possible to create new exception classes (see Exception.of).
<lang Oforth>
| e |
try: e [ iwillThrowAnException ] when: [ System.Out "Exception catched : " << e << cr ]
try: e [ 1
"Done" println ;</lang>
{{out}}
|