BizTalk Server Orchestration - Accessing Exception Properties within Orchestration Catch block

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > August 2004 > Accessing Exception Properties within Orchestration Catch block





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Accessing Exception Properties within Orchestration Catch block
DLane

2004-08-12, 2:46 am

Hi all, I've given this a good go but am yet to trap the details I really need.

I have set up multiple catch blocks within my Orchestration (to catch General Exceptions, System Exceptions, XLANG Exceptions and even NullExceptions). Within these, say System Exception, I have associated a variable, exSys, of .Net type System.Exception
to the Catch Block.

When my Orchestration runs, I can see, via the Orch debugger, that it successfully jumps to this catch block. However when i attempt to access the exSys.Message property the Orchestration then raises the error "System.NullReferenceException: Object refer
ence not set to an instance of an object."
Note: All properties of this variable are available in the expression editor through intellisense. So it must be declared OK. Just not instantiated. Even though the Orch as just thrown the exception to me (???)

I have such great plans for this information if I can just get to it...

If anybody has actually managed to figure out a way to make that final step, please let me, and dare i say a lot of other people, know how.
Thanks,
Dean.


----------------------------------------------
sent via http://www.biztalkug.com
all about BizTalk
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com