tag:blogger.com,1999:blog-6165332182249796549.post3946080906416687265..comments2024-03-28T00:21:15.243-07:00Comments on Coding ASP.net: Get Logging in database with the Enterprise Library 4.1Vinithttp://www.blogger.com/profile/06679231244175959335noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-6165332182249796549.post-41065626031928714752009-08-19T11:00:18.171-07:002009-08-19T11:00:18.171-07:00throw an exception and catch this way
catch (Ex...throw an exception and catch this way<br /><br /> catch (Exception ex)<br /> {<br /> ExceptionPolicy.HandleException(ex, GlobalConst.ExceptionPolicy); <br /> }<br /><br />I hope this helps.Vinithttps://www.blogger.com/profile/06679231244175959335noreply@blogger.comtag:blogger.com,1999:blog-6165332182249796549.post-13398149508574031262009-08-19T10:56:47.165-07:002009-08-19T10:56:47.165-07:00Raymond,
Record would be logged on if any excepti...Raymond,<br /><br />Record would be logged on if any exception is there. Why don't you throw an exception there using Exception policy of EL?Vinithttps://www.blogger.com/profile/06679231244175959335noreply@blogger.comtag:blogger.com,1999:blog-6165332182249796549.post-21727316012360896802009-08-19T10:53:10.721-07:002009-08-19T10:53:10.721-07:00I create a page with only statement of "int e...I create a page with only statement of "int error = int32.parse("abc");"<br /><br />No record is logged. Could you post an example?RThttps://www.blogger.com/profile/11518025188732174336noreply@blogger.comtag:blogger.com,1999:blog-6165332182249796549.post-31609796362310780442009-08-13T05:49:18.453-07:002009-08-13T05:49:18.453-07:00Awesome. It really helped... Thanks.Awesome. It really helped... Thanks.MGnoreply@blogger.com