🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #437

Exception Part 3 and ends :-)

#437
From: distef
Date: Wed, 25 May 2005 09:16
25 lines
1749 bytes
I build two exception handlers and attcah them as
  Include(AppDomain.CurrentDomain.UnhandledException,Handleexcept1);
  Include(Application.ThreadException,Handleexcept2);


procedure TWinForm.Handleexcept2(sender: Tobject; e: 
ThreadExceptionEventArgs);
begin
   MessageBox.Show(e.Exception.Message);
end;

procedure TWinForm.Handleexcept1(sender: Tobject;e: 
UnhandledExceptionEventArgs);
begin
   MessageBox.Show(e.ExceptionObject.ToString);
end;

I can catch all exceptions of application except those of i'm rasing on 
RowChanging event of DataTable

Why ????

P.s.  Using Abort on RowChanging event of DataTable does not changes 
anything. How can i build my own presenation for all exceptions of an 
winform application ????
Technical Details
Message-ID: <42944137$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,2d9f4c6edcaa53e,start
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Wed, 25 May 2005 12:16:27 +0300
From: distef <distef01@yhaoo.gr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax)
X-Accept-Language: en-us, en, el, tr
MIME-Version: 1.0
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: Exception Part 3  and ends :-)
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 194.30.233.129
Message-ID: <42944137$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1117012279 194.30.233.129 (25 May 2005 02:11:19 -0700)
Lines: 29
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail