PDA

View Full Version : Custom Exception Help


HsiaLin
29-Apr-2005, 07:15 PM
Hello, i have been using the trial 4.5.7 version of EL and am wondering what i am doing wrong as far as catching custom exceptions goes. I use BCB5 and then i go to the IDE EL option to enter custom exception messages but i cannot seem to figure out exactly how this works.

For instance, the exception is as follows:

EmySQLDatabaseError (is the type)

(the message is)

mySQL Error Code:
(1044)
Access denied for user: '@localhost' to database 'mysql''


Now EL does show the exception but it shows it as "Unknown Error".
I know WHAT this error is due to, i cause it on purpose to try to catch it, but i cannot for my life get EL to catch this mySQL error. Can anyone who may use BCB and mySQL help me out a bit?

Thanks much, hsia

admin
29-Apr-2005, 07:15 PM
Hello, i have been using the trial 4.5.7 version of EL and am wondering what i am doing wrong as far as catching custom exceptions goes. I use BCB5 and then i go to the IDE EL option to enter custom exception messages but i cannot seem to figure out exactly how this works.

For instance, the exception is as follows:

EmySQLDatabaseError (is the type)

(the message is)

mySQL Error Code:
(1044)
Access denied for user: '@localhost' to database 'mysql''


Now EL does show the exception but it shows it as "Unknown Error".
I know WHAT this error is due to, i cause it on purpose to try to catch it, but i cannot for my life get EL to catch this mySQL error. Can anyone who may use BCB and mySQL help me out a bit?

Thanks much, hsia

Have you tried the last EurekaLog 4.6.6?

HsiaLin
29-Apr-2005, 09:52 PM
Hello,
yes i have tried 4.6.6 with same results. There is only one user settable property for the control, the name. Wouldnt it make it better to document the "how-to`s" of the internals? Just my opinion but i think EL would triple its users if it did.

admin
02-May-2005, 01:04 PM
Hello,
yes i have tried 4.6.6 with same results. There is only one user settable property for the control, the name. Wouldnt it make it better to document the "how-to`s" of the internals? Just my opinion but i think EL would triple its users if it did.

Can you send to me a little source demo capable to reproduce a similar issue so that I'll can solve it for you, please?

HsiaLin
03-May-2005, 09:02 AM
Can you send to me a little source demo capable to reproduce a similar issue so that I'll can solve it for you, please?

sure i can, where would you like it sent?

admin
03-May-2005, 09:42 AM
Can you send to me a little source demo capable to reproduce a similar issue so that I'll can solve it for you, please?

sure i can, where would you like it sent?

use the http://www.eurekalog.com/support.php form to send it to me, ok? :)