|
|
@ -65,7 +65,10 @@ public class CustomDatabaseConnectionFactory implements DatabaseConnectionFactor |
|
|
|
} catch (ClassNotFoundException e) { |
|
|
|
log.error("init driver error", e); |
|
|
|
throw DomainErrors.CONNECT_DATABASE_FAILED.exception("驱动初始化异常, 请检查 Driver name:" + e.getMessage()); |
|
|
|
} catch (InvocationTargetException | InstantiationException | IllegalAccessException | NoSuchMethodException e) { |
|
|
|
} catch (InvocationTargetException |
|
|
|
| InstantiationException |
|
|
|
| IllegalAccessException |
|
|
|
| NoSuchMethodException e) { |
|
|
|
log.error("init driver error", e); |
|
|
|
throw DomainErrors.CONNECT_DATABASE_FAILED.exception("驱动初始化异常:" + e.getMessage()); |
|
|
|
} |
|
|
|