Data update
This commit is contained in:
parent
52a6ef48dd
commit
157b70a810
604 changed files with 14253 additions and 2100 deletions
15
Task/Exceptions/FutureBasic/exceptions-2.basic
Normal file
15
Task/Exceptions/FutureBasic/exceptions-2.basic
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
void local fn ThrowException
|
||||
ExceptionRef e = fn ExceptionWithName( @"Oops!", @"Something went wrong", NULL )
|
||||
|
||||
try
|
||||
throw e
|
||||
end try
|
||||
|
||||
catch (e)
|
||||
print fn ExceptionName( e ), fn ExceptionReason( e )
|
||||
end catch
|
||||
end fn
|
||||
|
||||
fn ThrowException
|
||||
|
||||
HandleEvents
|
||||
Loading…
Add table
Add a link
Reference in a new issue