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

This commit is contained in:
2022-07-22 10:35:31 +08:00
parent 7cc9d17424
commit 96970ff951
1 changed files with 1 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;