URGENT : Error ExceptionHandlers (User's complained )
Posted: 28.08.2012, 16:06
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 ..............)
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 ..............)