This website works better with JavaScript.
Home
Help
Register
Sign In
AerScript
/
Aer
Watch
0
Star
6
Fork
0
Code
Issues
6
Pull Requests
0
Releases
2
Wiki
Activity
Browse Source
Test 'finally' block compiler.
release/v0.1
Rafal Kupiec
1 year ago
parent
045ebe92ae
commit
84b5fd2717
Signed by:
belliash
GPG Key ID:
4E829243E0CFE6B4
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
tests/exception_handler.aer
+ 2
- 0
tests/exception_handler.aer
View File
@ -24,6 +24,8 @@ class Program {
throw new NewException("Catch me once", 1);
} catch(Exception $e) {
ExceptionHandler::handleException($e);
} finally {
print("Called finally block 1\n");
}
throw new Exception("Catch me twice", 2);
}
Write
Preview
Loading…
Cancel
Save