Link to home
Start Free TrialLog in
Avatar of MattNield
MattNieldFlag for United Kingdom of Great Britain and Northern Ireland

asked on

What are the extended properties of 'Exception'?

I've recently had to look at a problem which involves a Delphi app interfaceing with MS-SQL 7.

My issue is that I am loggin errors to the event log to see where this application is falling down.  All I can find however when I trap my exception is e.Message and e.ClassName.  Are there any other properties that may be deamed useful?  I'm not a Delphi boy as you may have guessed - so the whole thing is a little confusing.

Many thanks in advance.

Matt
Avatar of DaFox
DaFox

Hi Matt.

Take a look at the Delphi help file.

There you'll find properties like:

- Message
- ClassName
- ErrorCode
- NativeError

Markus

PS: If you got a pro/enterprise version of delphi which includes source code you can right click on a type (exception, ...) and click "find definition" (or something like that ;-). Sorry, don't have access to Delphi atm)
Avatar of MattNield

ASKER

Many thanks, Markus!
ASKER CERTIFIED SOLUTION
Avatar of Igor UL7AAjr
Igor UL7AAjr
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Many thanks, Markus!
Hmm, got that wrong then, how do I change my acceptance.
ask in community support topic area to correct this.
;-)

Thank you, Igor. Didn't see that Matt is new to EE.
Matt, do you contact community support or should I do that for you?

Markus
Well, I sent them an email.  I'm figuring that there is probably a thread for this kind of thing.

I'll post something in there.

Anyone want to play 'spot the newbie'?
;o)

Matt
Don't worry.
New member wellcome :)

I asked to correct this things

you can use this URL in future to do such things
https://www.experts-exchange.com/Community_Support/

___
Igor
Thanks everybody.  What I will do is refund the points on this question.  Then I have created a new question for DaFox at:
https://www.experts-exchange.com/questions/20549660/points-for-DaFox-re-20549147.html
With the original 50 points.

SpideyMod
Community Support Moderator @Experts Exchange
Once again:
Matt, you're welcome; thanks for the points; hope to see you again here on EE ;)
Igor & SpideyMod, thanks for your help.

Markus