Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.UnwrapTargetInvocationException Method

Unwraps the supplied TargetInvocationException and returns the inner exception preserving the stack trace.

[Visual Basic]
Public Shared Sub UnwrapTargetInvocationException( _
   ByVal ex As TargetInvocationException _
)
[C#]
public static Exception UnwrapTargetInvocationException(
   TargetInvocationException ex
);

Parameters

ex
The TargetInvocationException to unwrap.

Return Value

The unwrapped exception.

See Also

ReflectionUtils Class | Spring.Util Namespace