Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
sap-service
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
sap-service
Commits
2f0232c1
Commit
2f0232c1
authored
Aug 06, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
87ba9f62
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ThrowableUtil.java
src/main/java/com/egolm/sso/util/ThrowableUtil.java
+5
-0
No files found.
src/main/java/com/egolm/sso/util/ThrowableUtil.java
View file @
2f0232c1
...
@@ -37,6 +37,11 @@ public class ThrowableUtil {
...
@@ -37,6 +37,11 @@ public class ThrowableUtil {
map
.
put
(
Pattern
.
compile
(
"NumberFormatException: For input string: "
),
"上传数据格式错误"
);
map
.
put
(
Pattern
.
compile
(
"NumberFormatException: For input string: "
),
"上传数据格式错误"
);
map
.
put
(
Pattern
.
compile
(
"Unparseable date"
),
"日期格式错误"
);
map
.
put
(
Pattern
.
compile
(
"Unparseable date"
),
"日期格式错误"
);
map
.
put
(
Pattern
.
compile
(
"Data truncation"
),
"数据长度错误"
);
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
)
{
public
static
String
getThrowableDesc
(
Throwable
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment