Error Handler // have the errors as an internal errortable
Thorsten Hohage
thohage at objectmanufactur.com
Mon Sep 24 15:47:54 CDT 2007
On 2007-09-24, at 17:01, Ruslan Zasukhin wrote:
> On 24/9/07 5:45 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
>
>>>> 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 ?
>
> Yes probably.
Of course we "the knights of good software" (*lol*) don't need such a
feature, but it will improve the overall user experience with
software written by "other" developers.
Currently there are few apps outside and I was told, don't use them,
because they use Valentina! Or even more worse, don't use Valentina,
look at XXXX it's so bad because of Valentina!
So improving such things, and general exception handling is really
"such thing", will help to avoid bad software based on Valentina and
this will avoid above mentioned suggestions.
Of course it would make my life easier, but that's a totally
different topic :-)
regards
Thorsten Hohage
--
objectmanufactur.com - Hamburg,Germany
More information about the Valentina
mailing list