----------------------------------------------------------- New Message on BDOTNET
----------------------------------------------------------- From: geek_prad Message 8 in Discussion Hi Satheesh, Consider not to transmit exceptions across layers. Creating an exception object and raising it definitely has some overhead which you could avoid. If you are in the design phase, you can think of having a central exception manager derived from Microsoft Exception Application Block. Assign all application exceptions special unique codes, and pass these codes to the exception manager which will return a simple structure populated with the details of the exception. This has very little overhead and keeps your design simple. You may consider to have all exceptions raised in the middleware layer logged to the local event log or a database(maybe not a database). This approach not only centralises all exception information, but it also offers easy localization of your error messages. You can also raise exceptions from your component. Exceptions in .NET can be serialized and transmitted across machine boundaries. Although, remoting is capable of achieving this, it has a lot of overhead, but involves less code. Check what is best for your situation. If you may come up with a completely different solution, then you can mail it to the group. Hope this helps. cheers, pradeep -----Original Message----- From: spprivate [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 4:15 PM To: BDOTNET Subject: Re: Exception handling in 3-tier architecture-Doubt New Message on BDOTNET Exception handling in 3-tier architecture-Doubt Reply Reply to Sender Recommend Message 7 in Discussion From: spprivate Hi Pradeep, Infact I am still in design phase only and I am using abstract factory patterns for database handling. Somehow I am not still not clear on how error message will reach the front end.. Infact i have to directly invoke the components Any light into this.. Satheesh View other groups in this category. ----------------------------------------------------------- To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings. http://groups.msn.com/BDotNet/_emailsettings.msnw Need help? If you've forgotten your password, please go to Passport Member Services. http://groups.msn.com/_passportredir.msnw?ppmprop=help For other questions or feedback, go to our Contact Us page. http://groups.msn.com/contact If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list. mailto:[EMAIL PROTECTED]
