From dc5d7d493f55459a9180c5a8c3339939dc33d178 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=A0=E6=B3=A2?= Date: Tue, 16 Feb 2016 17:32:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=82=E5=B8=B8=E8=A2=AB?= =?UTF-8?q?=E6=8A=9B=E5=BC=83bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ddframe/rdb/sharding/exception/ShardingJdbcException.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/exception/ShardingJdbcException.java b/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/exception/ShardingJdbcException.java index a3ad81b16c74c..e8c0b1c9b0284 100644 --- a/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/exception/ShardingJdbcException.java +++ b/sharding-jdbc-core/src/main/java/com/dangdang/ddframe/rdb/sharding/exception/ShardingJdbcException.java @@ -29,6 +29,10 @@ public class ShardingJdbcException extends RuntimeException { public ShardingJdbcException(final String errorMessage, final Object... args) { super(String.format(errorMessage, args)); } + + public ShardingJdbcException(final String message, final Exception cause) { + super(message,cause); + } public ShardingJdbcException(final Exception cause) { super(cause);