class name

Raod 3 years ago
parent eb725ae69f
commit fd0375975a

@ -1,13 +0,0 @@
package com.anjiplus.template.gaea.business.modules.dataSource.pool.util;
/**
* Created by raodeming on 2021/3/19.
*/
public class DataSourceHandleUtil {
public static void mysqlConnection() {
}
}

@ -2,6 +2,7 @@ package com.anjiplus.template.gaea.business.modules.dataSource.pool.util;
import com.anji.plus.gaea.exception.BusinessExceptionBuilder;
import com.anjiplus.template.gaea.business.code.ResponseCode;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import java.util.HashMap;
@ -10,6 +11,7 @@ import java.util.Map;
/**
* Created by raodeming on 2021/4/19.
*/
@Slf4j
public final class DriverClassUtil {
/**
@ -62,7 +64,8 @@ public final class DriverClassUtil {
try {
Class.forName(driverClass);
} catch (ClassNotFoundException e) {
throw BusinessExceptionBuilder.build(ResponseCode.CLASS_NOT_FOUND, e.getMessage());
log.error("error", e);
throw BusinessExceptionBuilder.build(ResponseCode.CLASS_NOT_FOUND);
}
}

@ -43,3 +43,4 @@ Component.load.check.error={0} Component not load
4007=The report code does not allow duplication
4008=The set code does not allow duplication
4009=The source code does not allow duplication
4010=Can't auto find match driver class

@ -1,7 +1,7 @@
500=\u7CFB\u7EDF\u5F02\u5E38
200=\u64CD\u4F5C\u6210\u529F
User.password.error=\u5bc6\u7801\u4e0d\u6b63\u786e
User.password.error=\u5BC6\u7801\u4E0D\u6B63\u786E
1013=\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D
2001=\u6587\u4EF6\u540D\u4E0D\u5141\u8BB8\u4E3A\u7A7A
2002=\u6587\u4EF6\u7C7B\u578B\u4E0D\u652F\u6301
@ -44,6 +44,7 @@ Component.load.check.error={0}\u7EC4\u4EF6\u672A\u52A0\u8F7D
4007=\u62A5\u8868\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D
4008=\u6570\u636E\u96C6\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D
4009=\u6570\u636E\u6E90\u7F16\u7801\u4E0D\u5141\u8BB8\u91CD\u590D
4010=\u9A71\u52A8\u5305\u4E0D\u5B58\u5728
6001={0}
7001=\u89E3\u6790\u5931\u8D25

Loading…
Cancel
Save