Handling Open Exception
- From: craig Butler
- Date: Mon, 20 Nov 2006 10:01:00 -0500
I'm trying to handle an exception that results from 'bad' data in a
table. The code is as follows:
try
get_taxes_qry.open;
except
on E : Exceptiion do begin
record_transfer_error_sp.execProc
end;
end;
Get_taxes_qry is an adodataset and I'm using D7.
Currently when the open fails the except clause is executed and the
execproc is executed. However,the system also displays an error
message which I need to suppress.
Can someone tell me how to suppress the display?
Thanks
Craig
.
Relevant Pages
- Re: Static vs dynamic evaluation anomaly?
... GNAT is not Ada without -gnato and -fstack-check. ... Ada does have a Suppress ... cases where an exception would be raised if the check were performed--- ... (comp.lang.ada) - Re: Static vs dynamic evaluation anomaly?
... GNAT is not Ada without -gnato and -fstack-check. ... Ada does have a Suppress ... cases where an exception would be raised if the check were performed--- ... (comp.lang.ada) - Re: Static vs dynamic evaluation anomaly?
... as I understand the documentation, omitting ... more or less equivalent to using Suppress. ... cases where an exception would be raised if the check were performed--- ... The output is always outputting an 8-bit value; with the check, this value always fits in 6 bits; without it, it may be larger. ... (comp.lang.ada) - Re: REPOST: Suppressing the default "Unexpected Error" dialog OR global error handler - CF
... app. ... the above box keeps my gui thread (e.g. ... we should be able to either suppress the box completely ... > or at least catch any exception in a central place and deal with it ... (microsoft.public.dotnet.framework.compactframework) - Re: asynchronous delegates and events question
... which the UI is to display. ... directly from the background thread, ... I've read that if an exception ... > public InitializeComponentDelegate initializeComponent = new ... (microsoft.public.dotnet.languages.csharp) |
|