Commit 2f0232c1 authored by Quxl's avatar Quxl

x

parent 87ba9f62
......@@ -37,6 +37,11 @@ public class ThrowableUtil {
map.put(Pattern.compile("NumberFormatException: For input string: "), "上传数据格式错误");
map.put(Pattern.compile("Unparseable date"), "日期格式错误");
map.put(Pattern.compile("Data truncation"), "数据长度错误");
map.put(Pattern.compile("Partner type undefined"), "合作伙伴类型错误");
map.put(Pattern.compile("Unable to generate batch number"), "无法生成批次号");
map.put(Pattern.compile("Amount type undefined"), "金额类型错误");
map.put(Pattern.compile("Organizational identity undefined"), "组织类型错误");
map.put(Pattern.compile("Text type undefined"), "文本类型错误");
}
public static String getThrowableDesc(Throwable e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment