< class="prominent-subhead ">

Code Fix: Improved Exception message thrown by the K2 connect Service Instance

This article has been archived, and/or refers to legacy products, components or features. The content in this article is offered "as is" and will no longer be updated. Archived content is provided for reference purposes only. This content does not infer that the product, component or feature is supported, or that the product, component or feature will continue to function as described herein.


Currently, when an exception occurs in the K2 connect Service Instance, an exception error message is thrown. This exception is included but with the generic “Exception has been thrown by target of invocation…” and the actual exception message is held in the innerexception. The hotfix checks for an innerexception first and throws that if it exists, which will give the user a better understanding of what the issue is.


Old Error message


Improved Error Message



This Hotfix is available in the latest update for K2 connect for SAP.