🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #3964

Catching specific exceptions?

#3964
From: Jens Weiermann
Date: Mon, 29 Apr 2002 12:47
10 lines
1436 bytes
Is there any way to get extended error information from a EDatabaseError?
This seems to be the only exception that gets thrown whenever a database
error occurs, no matter if it's caused by a "Primary key violation" or a
"Server not found". The "Message" property is the only one which gives
detailed information about the error, but I don't want to rely on it,
because this can be different depending on the target system's language
settings or even driver versions.
Hope I made myself clear, any help appreciated...

Jens
Technical Details
Message-ID: <3ccd32c7_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,5c8816a551118c9d,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2002-04-29 05:00:40 PST
From: "Jens Weiermann" <wexmanATsolidsoftwareDOTde>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: Catching specific exceptions?
Date: Mon, 29 Apr 2002 13:47:20 +0100
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 62.157.89.130
Message-ID: <3ccd32c7_2@dnews>
X-Trace: dnews 1020080839 62.157.89.130 (29 Apr 2002 04:47:19 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!207.217.77.43.MISMATCH!newsfeed1.earthlink.net!newsfeed.earthlink.net!news-hog.berkeley.edu!ucberkeley!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!dnews