Article View: borland.public.interbase.sql
Article #311Re: passing information to be displayed in exception ??
From: Isaac
Date: Mon, 19 May 2008 18:50
Date: Mon, 19 May 2008 18:50
17 lines
1652 bytes
1652 bytes
Bill Todd [TeamB] wrote: > 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. > Then I check if there is error (record) exists in the table, right ? another question please, when triggers fires, when post changes or when committed ? Thanks
Technical Details
Message-ID:
<4831cc19@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mailReferences:
<4831a020@newsgroups.borland.com> <4831c7a5$1@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 Date: Mon, 19 May 2008 21:50:44 +0300 From: Isaac <no@no.com> User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 Newsgroups: borland.public.interbase.sql Subject: Re: passing information to be displayed in exception ?? References: <4831a020@newsgroups.borland.com> <4831c7a5$1@newsgroups.borland.com> In-Reply-To: <4831c7a5$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 41.234.199.184 Message-ID: <4831cc19@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1211223065 41.234.199.184 (19 May 2008 11:51:05 -0700) Lines: 17 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!news.isoc.lu!newsgroups.borland.com!not-for-mail