Article View: borland.public.interbase.sql
Article #309passing information to be displayed in exception ??
From: Isaac
Date: Mon, 19 May 2008 15:43
Date: Mon, 19 May 2008 15:43
11 lines
1091 bytes
1091 bytes
Hello, I need to check balance and see if the balance is under zero I raise an exception ex: if (bal < 0) then exception bal_err; 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 ? Thanks
Technical Details
Message-ID:
<4831a020@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,4bd5c26775487a13,start X-Google-Attributes: gid114a0e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Mon, 19 May 2008 18:43:07 +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: passing information to be displayed in exception ?? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 41.234.199.184 Message-ID: <4831a020@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1211211808 41.234.199.184 (19 May 2008 08:43:28 -0700) Lines: 11 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail