Accessing Exception Properties within Orchestration Catch block
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > Accessing Exception Properties within Orchestration Catch block




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Accessing Exception Properties within Orchestration Catch block  
DLane


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-12-04 07:46 AM

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

I have set up multiple catch blocks within my Orchestration (to catch Genera
l 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 succes
sfully jumps to this catch block.  However when i attempt to access the exSy
s.Message property the Orchestration then raises the error "System.NullRefer
enceException: Object refer
ence not set to an instance of an object."
Note:  All properties of this variable are available in the expression edito
r 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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:58 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register