IGNITE-17541 Thin client: add spring compatible setter for "send stack trace to client" flag - Fixes #10230.

Signed-off-by: Aleksey Plekhanov <plehanov.alex@gmail.com>
diff --git a/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java b/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
index e05ede0..d84a196 100644
--- a/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
+++ b/modules/core/src/main/java/org/apache/ignite/configuration/ThinClientConfiguration.java
@@ -111,13 +111,25 @@
     /**
      * @param sendServerExcStackTraceToClient If {@code true} sends a server exception stack to the client side.
      * @return {@code this} for chaining.
+     * @deprecated Use {@link #setServerToClientExceptionStackTraceSending(boolean)} instead.
      */
+    @Deprecated
     public ThinClientConfiguration sendServerExceptionStackTraceToClient(boolean sendServerExcStackTraceToClient) {
         this.sendServerExcStackTraceToClient = sendServerExcStackTraceToClient;
 
         return this;
     }
 
+    /**
+     * @param sendStackTrace If {@code true} sends a server exception stack to the client side.
+     * @return {@code this} for chaining.
+     */
+    public ThinClientConfiguration setServerToClientExceptionStackTraceSending(boolean sendStackTrace) {
+        sendServerExcStackTraceToClient = sendStackTrace;
+
+        return this;
+    }
+
     /** {@inheritDoc} */
     @Override public String toString() {
         return S.toString(ThinClientConfiguration.class, this);