BizTalk Server Orchestration - Catching Exceptions

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > December 2004 > Catching Exceptions





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 Catching Exceptions
Deepak

2004-12-28, 5:49 pm

Hi,

I have an BTS 2004 Orchestration which has a Scope and an
exception handler of System.SystemException

I have a map inside the above scope and when the map
fails the exception is not being caught even though
XTransformationFailureException derives from
System.SystemException.

If I put a generalexception block, the error is being
caught, but I'm curious why the Error is not being caught
if I use System.SystemException block.

Any body has run into this or similar kind of issue and
any help would be appreciated.

Thanks,
Deepak

The detailed Error is below
Description:
Uncaught exception terminated service Testing.Test
(adf8d7d8-16b9-00f8-2feb-b8887804ec75), instance 490fca7b-
9630-49ec-a6c1-4d19deccea08

Error encountered while executing the transform
RMIC.B2B.Common.Maps.LOANCASE_to_test.
Error:Transformation failed..

Exception type: XTransformationFailureException
Source: Microsoft.XLANGs.Engine
Target Site: Void ApplyTransform(System.Type,
System.Object[], System.Object[])
Help Link:
Additional error information:

Function 'userVB:MyConcat()' has failed.

Exception type: XsltException
Source: System.Xml
Target Site: Void InvokeFunction
(System.Xml.XPath.XPathNavigator,
System.Xml.XPath.XPathNodeIterator)
Help Link:
Additional error information:

Exception has been thrown by the target of an invocation.

Exception type: TargetInvocationException
Source: mscorlib
Target Site: System.Object InternalInvoke(System.Object,
System.Reflection.BindingFlags, System.Reflection.Binder,
System.Object[], System.Globalization.CultureInfo,
Boolean, System.Reflection.Assembly, Boolean)
Help Link:
Additional error information:

Cannot create ActiveX component.

Exception type: Exception
Source: Microsoft.VisualBasic
Target Site: System.Object CreateObject(System.String,
System.String)
Help Link:
Additional error information:

Jon Flanders

2004-12-28, 5:49 pm

Actually XTransformationFailureException doesn't derive from
System.SystemException - but from System.Exception.

--
Jon Flanders
http://staff.develop.com/jfland/
"Deepak" <anonymous@discussions.microsoft.com> wrote in message
news:02ae01c4ecf9$271e8560$a601280a@phx.gbl...
> Hi,
>
> I have an BTS 2004 Orchestration which has a Scope and an
> exception handler of System.SystemException
>
> I have a map inside the above scope and when the map
> fails the exception is not being caught even though
> XTransformationFailureException derives from
> System.SystemException.
>
> If I put a generalexception block, the error is being
> caught, but I'm curious why the Error is not being caught
> if I use System.SystemException block.
>
> Any body has run into this or similar kind of issue and
> any help would be appreciated.
>
> Thanks,
> Deepak
>
> The detailed Error is below
> Description:
> Uncaught exception terminated service Testing.Test
> (adf8d7d8-16b9-00f8-2feb-b8887804ec75), instance 490fca7b-
> 9630-49ec-a6c1-4d19deccea08
>
> Error encountered while executing the transform
> RMIC.B2B.Common.Maps.LOANCASE_to_test.
> Error:Transformation failed..
>
> Exception type: XTransformationFailureException
> Source: Microsoft.XLANGs.Engine
> Target Site: Void ApplyTransform(System.Type,
> System.Object[], System.Object[])
> Help Link:
> Additional error information:
>
> Function 'userVB:MyConcat()' has failed.
>
> Exception type: XsltException
> Source: System.Xml
> Target Site: Void InvokeFunction
> (System.Xml.XPath.XPathNavigator,
> System.Xml.XPath.XPathNodeIterator)
> Help Link:
> Additional error information:
>
> Exception has been thrown by the target of an invocation.
>
> Exception type: TargetInvocationException
> Source: mscorlib
> Target Site: System.Object InternalInvoke(System.Object,
> System.Reflection.BindingFlags, System.Reflection.Binder,
> System.Object[], System.Globalization.CultureInfo,
> Boolean, System.Reflection.Assembly, Boolean)
> Help Link:
> Additional error information:
>
> Cannot create ActiveX component.
>
> Exception type: Exception
> Source: Microsoft.VisualBasic
> Target Site: System.Object CreateObject(System.String,
> System.String)
> Help Link:
> Additional error information:
>



Deepak

2004-12-28, 5:49 pm

Thanks John. I see it now, missed it while reading the
documentation.

>-----Original Message-----
>Actually XTransformationFailureException doesn't derive

from
>System.SystemException - but from System.Exception.
>
>--
>Jon Flanders
>http://staff.develop.com/jfland/
>"Deepak" <anonymous@discussions.microsoft.com> wrote in

message
>news:02ae01c4ecf9$271e8560$a601280a@phx.gbl...
an[vbcol=seagreen]
caught[vbcol=seagreen]
490fca7b-[vbcol=seagreen]
invocation.[vbcol=seagreen]
(System.Object,[vbcol=seagreen]
System.Reflection.Binder,[vbcol=seagreen]
>
>
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com