mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
fix code
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
package org.dromara.hutool.db.ds;
|
||||
|
||||
import org.dromara.hutool.core.exceptions.CloneRuntimeException;
|
||||
import org.dromara.hutool.core.exceptions.CloneException;
|
||||
import org.dromara.hutool.core.io.IoUtil;
|
||||
import org.dromara.hutool.core.func.Wrapper;
|
||||
|
||||
@@ -137,7 +137,7 @@ public class DSWrapper implements Wrapper<DataSource>, DataSource, Closeable, Cl
|
||||
try {
|
||||
return (DSWrapper) super.clone();
|
||||
} catch (final CloneNotSupportedException e) {
|
||||
throw new CloneRuntimeException(e);
|
||||
throw new CloneException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@
|
||||
|
||||
package org.dromara.hutool.db.ds.simple;
|
||||
|
||||
import org.dromara.hutool.core.exceptions.CloneRuntimeException;
|
||||
import org.dromara.hutool.core.exceptions.CloneException;
|
||||
|
||||
import javax.sql.DataSource;
|
||||
import java.io.Closeable;
|
||||
@@ -72,7 +72,7 @@ public abstract class AbstractDataSource implements DataSource, Cloneable, Close
|
||||
try {
|
||||
return (AbstractDataSource) super.clone();
|
||||
} catch (final CloneNotSupportedException e) {
|
||||
throw new CloneRuntimeException(e);
|
||||
throw new CloneException(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -13,7 +13,7 @@
|
||||
package org.dromara.hutool.db.sql;
|
||||
|
||||
import org.dromara.hutool.core.convert.Convert;
|
||||
import org.dromara.hutool.core.exceptions.CloneRuntimeException;
|
||||
import org.dromara.hutool.core.exceptions.CloneException;
|
||||
import org.dromara.hutool.core.math.NumberUtil;
|
||||
import org.dromara.hutool.core.text.StrUtil;
|
||||
import org.dromara.hutool.core.text.split.SplitUtil;
|
||||
@@ -381,7 +381,7 @@ public class Condition implements Cloneable, Serializable {
|
||||
try {
|
||||
return (Condition) super.clone();
|
||||
} catch (final CloneNotSupportedException e) {
|
||||
throw new CloneRuntimeException(e);
|
||||
throw new CloneException(e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user