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

This commit is contained in:
2022-07-22 10:57:00 +08:00
parent 96970ff951
commit b8b58cb202
1 changed files with 1 additions and 0 deletions

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;