com.hazelcast.client.proxy.txn

## Class ClientTransactionUtil

- java.lang.Object
- - com.hazelcast.client.proxy.txn.ClientTransactionUtil

-     public final class ClientTransactionUtil
      extends Object

  Contains static method that is used from client transaction classes.

- - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static com.hazelcast.client.impl.protocol.ClientMessage` | `invoke(com.hazelcast.client.impl.protocol.ClientMessage request, String objectName, com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl client, Connection connection)` Handles the invocation exception for transactions so that users will not see internal exceptions.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### invoke

          public static com.hazelcast.client.impl.protocol.ClientMessage invoke(com.hazelcast.client.impl.protocol.ClientMessage request,
                                                                                String objectName,
                                                                                com.hazelcast.client.impl.clientside.HazelcastClientInstanceImpl client,
                                                                                Connection connection)

      Handles the invocation exception for transactions so that users will not see internal exceptions.

      More specifically IOException, because in case of a IO problem in ClientInvocation that send to a connection sends IOException to user. This wraps that exception into a TransactionException.

Copyright © 2019. All rights reserved.