EMySQLException / EMyError
Posted: Wed 12 Mar 2008 14:19
I'm trying to create a robust exception handler when connection with TMyConnection, but I don't understand the structure of the errormessages.
I see a Delphi EMySQLException. To handle this I added MySQLErrors to my uses list. But then in the try..except handler I find out that the classname of the exception is EMyError. But when I try to catch a EMyError, I get a 'Undeclared identifier: EMyError'.
How do I catch the EMySQLException?
I see a Delphi EMySQLException. To handle this I added MySQLErrors to my uses list. But then in the try..except handler I find out that the classname of the exception is EMyError. But when I try to catch a EMyError, I get a 'Undeclared identifier: EMyError'.
How do I catch the EMySQLException?