Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
RuoYi Vue
Commits
9f3b91fe
Unverified
Commit
9f3b91fe
authored
Jul 25, 2022
by
若依
Committed by
Gitee
Jul 25, 2022
Browse files
!535 所有的覆写方法,必须加@Override注解
Merge pull request !535 from 天才的逻辑/master
parents
80d25863
b8b58cb2
Changes
2
Hide whitespace changes
Inline
Side-by-side
ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java
View file @
9f3b91fe
...
...
@@ -45,6 +45,7 @@ public class GlobalException extends RuntimeException
return
this
;
}
@Override
public
String
getMessage
()
{
return
message
;
...
...
ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java
View file @
9f3b91fe
...
...
@@ -49,6 +49,7 @@ public final class ServiceException extends RuntimeException
return
detailMessage
;
}
@Override
public
String
getMessage
()
{
return
message
;
...
...
Write
Preview
Supports
Markdown
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