This is an automated email from the ASF dual-hosted git repository.

zhangliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 14b0662  modify message (#7675)
14b0662 is described below

commit 14b0662f749e9cd7ee29daeb162ece7b1e073f50
Author: kimmking <[email protected]>
AuthorDate: Wed Sep 30 23:37:26 2020 +0800

    modify message (#7675)
---
 .../shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java  | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java
 
b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java
index 56fb8b3..4f7797d 100644
--- 
a/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java
+++ 
b/shardingsphere-jdbc/shardingsphere-jdbc-core/src/main/java/org/apache/shardingsphere/driver/jdbc/core/resultset/ResultSetUtil.java
@@ -88,7 +88,7 @@ public final class ResultSetUtil {
         try {
             return new URL(val);
         } catch (final MalformedURLException ex) {
-            throw new ShardingSphereException("Unsupported Date type: URL 
value %s", value);
+            throw new ShardingSphereException("Unsupported Date type: URL for 
value %s", val);
         }
     }
     
@@ -111,7 +111,7 @@ public final class ResultSetUtil {
             BigDecimal bigDecimal = new BigDecimal(value.toString());
             return adjustBigDecimalResult(bigDecimal, needScale, scale);
         }
-        throw new ShardingSphereException("Unsupported Date type: BigDecimal 
value %s", value);
+        throw new ShardingSphereException("Unsupported Date type: BigDecimal 
for value %s", value);
     }
   
     private static BigDecimal adjustBigDecimalResult(final BigDecimal value, 
final boolean needScale, final int scale) {
@@ -185,7 +185,7 @@ public final class ResultSetUtil {
             case "java.lang.String":
                 return value.toString();
             default:
-                throw new ShardingSphereException("Unsupported data type: %s", 
convertType);
+                throw new ShardingSphereException("Unsupported data type: %s 
for value %s", convertType, value);
         }
     }
     
@@ -201,7 +201,7 @@ public final class ResultSetUtil {
             case "java.lang.String":
                 return date.toString();
             default:
-                throw new ShardingSphereException("Unsupported Date type: %s", 
convertType);
+                throw new ShardingSphereException("Unsupported Date type: %s 
for value %s", convertType, value);
         }
     }
     

Reply via email to