public final class ClientTransactionUtil extends Object
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.HazelcastClientInstanceImpl client,
Connection connection)
Handles the invocation exception for transactions so that users will not see internal exceptions.
|
public static com.hazelcast.client.impl.protocol.ClientMessage invoke(com.hazelcast.client.impl.protocol.ClientMessage request, String objectName, com.hazelcast.client.impl.HazelcastClientInstanceImpl client, Connection connection)
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 © 2018 Hazelcast, Inc.. All rights reserved.