Article View: borland.public.interbase.sql
Article #310Re: passing information to be displayed in exception ??
From: Bill Todd [TeamB]
Date: Mon, 19 May 2008 18:32
Date: Mon, 19 May 2008 18:32
12 lines
1441 bytes
1441 bytes
Isaac wrote: > but I need the displayed message to be more informative for example > to pass the current balance amount in the exception message , how I > can do that ? You cannot. Exceptions do not support variable data in the message. The only workaround I know of is to insert the variable information into a temporary table and let the client application read it from there. -- Bill Todd (TeamB)
Technical Details
Message-ID:
<4831c7a5$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<4831a020@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,4bd5c26775487a13
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Bill Todd [TeamB]" <no@no.com>
Subject: Re: passing information to be displayed in exception ??
Newsgroups: borland.public.interbase.sql
References: <4831a020@newsgroups.borland.com>
Organization: The Database Group, Inc.
User-Agent: XanaNews/1.18.1.9
X-Face: ":yn4zt^A_dn>6~{YJmu^B\'4w)e:apPM\VC=Dvf&*tASxX9|BYczkFd$xr.$vNSZ[3Uobr p]c4\+\l){!WQI.$]veP({HLd;CDYH?iN
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
NNTP-Posting-Host: 76.208.40.243
Message-ID: <4831c7a5$1@newsgroups.borland.com>
Date: 19 May 2008 11:32:05 -0700
X-Trace: newsgroups.borland.com 1211221925 76.208.40.243 (19 May 2008 11:32:05 -0700)
Lines: 12
X-Authenticated-User: btodd
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news.buerger.net!news.isoc.lu!newsgroups.borland.com!not-for-mail