Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

What are the extended properties of 'Exception'?

Posted on 2003-03-13
11
Medium Priority
?
167 Views
Last Modified: 2012-05-04
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
0
Comment
Question by:MattNield
  • 4
  • 3
  • 3
  • +1
11 Comments
 
LVL 6

Expert Comment

by:DaFox
ID: 8126881
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)
0
 

Author Comment

by:MattNield
ID: 8126914
Many thanks, Markus!
0
 
LVL 9

Accepted Solution

by:
ITugay earned 0 total points
ID: 8127377
So, you have to grade DaFox for answer.
Your post should look something like "Accept DaFox's comment as answer."
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:MattNield
ID: 8127423
Many thanks, Markus!
0
 

Author Comment

by:MattNield
ID: 8127457
Hmm, got that wrong then, how do I change my acceptance.
0
 
LVL 9

Expert Comment

by:ITugay
ID: 8127524
ask in community support topic area to correct this.
0
 
LVL 6

Expert Comment

by:DaFox
ID: 8127667
;-)

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
0
 

Author Comment

by:MattNield
ID: 8127697
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
0
 
LVL 9

Expert Comment

by:ITugay
ID: 8127740
Don't worry.
New member wellcome :)

I asked to correct this things

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

___
Igor
0
 

Expert Comment

by:SpideyMod
ID: 8129722
Thanks everybody.  What I will do is refund the points on this question.  Then I have created a new question for DaFox at:
http://www.experts-exchange.com/Programming/Programming_Languages/Delphi/Q_20549660.html
With the original 50 points.

SpideyMod
Community Support Moderator @Experts Exchange
0
 
LVL 6

Expert Comment

by:DaFox
ID: 8130858
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
0

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This is an update to some code that someone else posted on Experts Exchange. It is an alternate approach, I think a little easier to use, & makes sure that things like the Task Bar will update.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month11 days, 19 hours left to enroll

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question