?
Solved

What are the extended properties of 'Exception'?

Posted on 2003-03-13
11
Medium Priority
?
166 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

770 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