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

Merge pull request !535 from 天才的逻辑/master
master
若依 2 years ago committed by Gitee
commit 9f3b91fe57
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
  1. 1
      ruoyi-common/src/main/java/com/ruoyi/common/exception/GlobalException.java
  2. 1
      ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java

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

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

Loading…
Cancel
Save