cant use exceptions in xojoscript at all ?

ugh

a simple script typed into a new IDE Script

Class fooException
 inherits RuntimeException
end class

and run
you cant use exceptions in XojoScript at all ?
that sucks

not sure there are decent alternatives
been seeking on for a while and they all bite