TranslateException(Exception):Exception

Transforms server exceptions into exceptions of the Client API.

If the indicated exception is not present in the mapping, then the same exception is returned again.

Return type: System.Exception

Parameter

ex

Type: System.Exception

This parameter is the exception to be transformed into an exception of the Client API.