Browse Source

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

2 years ago
parent
commit
b8b58cb202

+ 1 - 0
ruoyi-common/src/main/java/com/ruoyi/common/exception/ServiceException.java

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