lhyundeadsoul commented on code in PR #20677:
URL: https://github.com/apache/shardingsphere/pull/20677#discussion_r959642257


##########
shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/exception/sql/ShardingSphereSQLException.java:
##########
@@ -40,6 +40,11 @@ public ShardingSphereSQLException(final SQLState sqlState, 
final int vendorCode,
     }
     
     public ShardingSphereSQLException(final String sqlState, final int 
vendorCode, final String reason, final Object... messageArguments) {
+        this(null, sqlState, vendorCode, reason, messageArguments);
+    }
+
+    public ShardingSphereSQLException(final Exception cause, final String 
sqlState, final int vendorCode, final String reason, final Object... 
messageArguments) {
+        super(cause);

Review Comment:
   There can't be more parameters after an indefinite length array(Object... 
messageArguments)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to