[Aldor-l] Exceptions in aldor
W Naylor
wn at cs.bath.ac.uk
Fri Mar 31 05:49:00 EST 2006
>
> One cannot simply say
>
> throw RuntimeError("Message");
>
> but has to say more unnaturally...
>
> throw RuntimeError pointer "Message";
>
> I don't think that RuntimeError should be used.
>
> Anyway, there is some work to be done to somehow bring some order in all the
> exception stuff. For example there is no common ExceptionType that all other
> exceptions inherit from.
>
> Ralf
In particular, I notice the last example in chapter 11 of the aldor user
guide defines a couple of Categorys extending 'Exception'. As far as I can
make out the Category Exception does not exist
Bill
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-
- Dr. W.A. Naylor
-
- http://www.cs.bath.ac.uk/~wn
- http://orcca.on.ca/~bill
-
- work tel: +44 1225 386183
-
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
More information about the Aldor-l
mailing list