URGENT : Error ExceptionHandlers (User's complained )

Freature requests from users for ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Post Reply
sfxcc
Senior Boarder
Senior Boarder
Posts: 95
Joined: 13.05.2010, 18:48

URGENT : Error ExceptionHandlers (User's complained )

Post by sfxcc »

Can you Create a variable on ZAbstractRODataset

type EZDatabaseErrorClass = class of EZDatabaseError;
var defaultEZDatabaseErrorClass:EZDatabaseErrorClass=EZDatabaseError;

on the exceptions defaultEZDatabaseError.Create instead of EZDatabaseError.Create.

So if we change the defaultEZDatabaseError variable it will trigger our exception if not it as the default one EZDatabaseError.

Then we can change the error Dialog (This is really usefull to interact with the users because they complain that the dont undestand select Field from Table ..............)
where's the code ..
olehs
Zeos Dev Team
Zeos Dev Team
Posts: 118
Joined: 09.11.2009, 21:05

Post by olehs »

sfxcc,

as for now you can implement Application.OnException handler and show messages in there.
(But I think this can be implemented)
Oleg
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Sérgio,

Oleg is right. We can introduce you proposal. But i must admit there is a lot more todo in the background. So i propose you attach a patch file? Can you do this?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Post Reply