Default except handler on some errors

delphi package - automated exception handling
Post Reply
Goran
Posts: 5
Joined: Mon Sep 20, 2004 12:40 pm

Default except handler on some errors

Post by Goran »

Hi,

I just try'ed MadExcept , and it seems to be good.
Is there a way to let default exception handler handle some errors - like all fields where user input wrong date in date field should show default message(I think it's "32.12.2004 is not a valid date" ) and in all others MadExcept handler do it's job?

Goran
madshi
Site Admin
Posts: 10754
Joined: Sun Mar 21, 2004 5:25 pm

Post by madshi »

Not directly, but you can achieve a more or less similar result by using what the FAQ #1 suggests (see documentation).

The next bigger version update will offer more control over this without having to write extra code. But right now you need to do what FAQ #1 suggests.
Goran
Posts: 5
Joined: Mon Sep 20, 2004 12:40 pm

Post by Goran »

Apsolutely right. Just found Faq #1 , implemented it and it is working.
It would be very nice if it would be possible to fine tuning this feature.

Goran
Post Reply