timoninmaxim commented on code in PR #11713:
URL: https://github.com/apache/ignite/pull/11713#discussion_r1878568855


##########
modules/core/src/main/java/org/apache/ignite/internal/client/thin/TcpClientCache.java:
##########
@@ -127,6 +127,10 @@ public class TcpClientCache<K, V> implements 
ClientCache<K, V> {
     public static final String 
NON_TRANSACTIONAL_CLIENT_CACHE_CLEAR_IN_TX_ERROR_MESSAGE = "Failed to invoke a 
" +
         "non-transactional ClientCache clear operation within a transaction.";
 
+    /** Exception thrown when a non-transactional ClientCache clear operation 
is invoked within a transaction. */
+    public static final String 
NON_TRANSACTIONAL_CLIENT_CACHE_REMOVEALL_IN_TX_ERROR_MESSAGE = "Failed to 
invoke a " +

Review Comment:
   Duplication of message. Let's use parameterized error message with an 
operation as a param. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to