June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
8
Task/Exceptions/HolyC/exceptions-1.holyc
Normal file
8
Task/Exceptions/HolyC/exceptions-1.holyc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
try {
|
||||
U8 *err = 'Error';
|
||||
throw(err); // throw exception
|
||||
} catch {
|
||||
if (err == 'Error')
|
||||
Print("Raised 'Error'");
|
||||
PutExcept; // print the exception and stack trace
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue