Browse Source

Modify SQL error message

sunyj 8 years ago
parent
commit
7b60c0c88f

+ 1 - 1
kanban-console/src/main/java/com/uas/kanban/service/impl/PanelInstanceServiceImpl.java

@@ -204,7 +204,7 @@ public class PanelInstanceServiceImpl extends BaseService<PanelInstance> impleme
         } catch (IOException e) {
             throw new IllegalStateException("xml 转换出错", e);
         } catch (SQLException e) {
-            throw new IllegalStateException("数据库连接错误", e);
+            throw new IllegalStateException("SQL 查询错误", e);
         }
         Map<String, Object> result = new HashMap<>();
         Map<String, Object> instance = new HashMap<>();