Home Page › Forums › BizTalk 2004 – BizTalk 2010 › catching a exception in biztalk which is thrown by .NET Component › Re: catching a exception in biztalk which is thrown by .NET Component
March 23, 2009 at 2:44 PM
#21963
- Add a Scope shape
- Add an exception handler by clicking the shape and choose “New exeption handler”
- In the new handler, choose the type of exception you want it to handle like SqlException or similar.
- Choose the name of the variable the exception should have.
- Send your SMTP message from the catch block.
Add more handler if you want to catch other exceptions.