Completed
Last Updated: 25 Sep 2019 08:46 by ADMIN
Mihail
Created on: 22 Aug 2019 06:32
Type: Feature Request
1
Throw the original exception instead of the TargetInvocationException when using the CallMethod of the PrivateAccessor

The CallMethod of the PrivateAccessor is using reflection to invoke the required method. When an exception is thrown inside that method it will be wrapped by the reflection in a TargetInvocationException which is received in the test method.

Instead of the TargetInvocationException, throw the original exception.

4 comments
ADMIN
Mihail
Posted on: 25 Sep 2019 08:46

Hi Theo,

Here is a link to the documentation article.

Regards,
Mihail
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Theo
Posted on: 25 Sep 2019 05:37
Please provide a link to explain how to use/implement once we upgrade to latest version. Thank you
ADMIN
Mihail
Posted on: 24 Sep 2019 10:07

This feature is implemented and is available with R3 2019 (2019.910.4) release.

Regards,
Mihail
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Theo
Posted on: 22 Aug 2019 08:10

Refers to support ticket 

https://www.telerik.com/account/support-tickets/view-ticket/1426099

 

Implemented work around in the mean time. Attached.