Data update

This commit is contained in:
Ingy döt Net 2023-10-02 18:11:16 -07:00
parent 796d366b97
commit 35bcdeebf8
504 changed files with 7045 additions and 610 deletions

View file

@ -1,5 +1,5 @@
class MyException : Exception
{
constructor new()
<= new("MyException raised");
<= super new("MyException raised");
}

View file

@ -1,8 +1,8 @@
try
{
o.foo()
foo()
}
catch:(MyException e)
catch(MyException e)
{
// handle exceptions of type MyException and derived
}

View file

@ -1,4 +1,8 @@
o.foo() | on:(e)
try
{
foo.fail()
}
catch(Exception e)
{
// handle any type of exception
};