!535 所有的覆写方法,必须加@Override注解

Merge pull request !535 from 天才的逻辑/master
This commit is contained in:
若依 2022-07-25 10:32:48 +00:00 committed by Gitee
commit 9f3b91fe57
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,7 @@ public class GlobalException extends RuntimeException
return this; return this;
} }
@Override
public String getMessage() public String getMessage()
{ {
return message; return message;

View File

@ -49,6 +49,7 @@ public final class ServiceException extends RuntimeException
return detailMessage; return detailMessage;
} }
@Override
public String getMessage() public String getMessage()
{ {
return message; return message;