Error Handler // have the errors as an internal errortable

Bart Pietercil bart.pietercil at gmail.com
Mon Sep 24 09:45:07 CDT 2007


On 24-sep-07, at 16:07, Ruslan Zasukhin wrote:

> On 24/9/07 4:15 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
>
>>> But you ask about some global-level event handler...
>>>
>>
>> Correction
>>
>> I ask for a global-level event handler that is called UNLESS there is
>> an override in the EXCEPTION block of a procedure`
>> So
>> 1) There is no exception block in procedure----> go to global event
>> handler
>> 2) There is exception block in procedure--> execute exception block
>> ( where it is still possible to call global level errorprocedure)
>
> Lazy developers :-)
>
> Even C++ do not have such feature :))))


We try to be better :-)

Serious, having 1) is already great, 2 is just to be safe. Because if  
1) is like

set ErrorHook = call myCustomErrorHandler

you can always say inside a procedure

set ErrorHook = Nil and fall back on the normal Exceptions  no ?


Bart


More information about the Valentina mailing list