Browse Source

Merge pull request 'master' (#2) from Jonas/plugin-bi-pack-request:master into master

Reviewed-on: #2
master
Zhenfei.Li 4 years ago
parent
commit
52cd96a123
  1. 4
      src/main/java/com/fr/plugin/pack/exception/ReportExceedException.java
  2. 4
      src/main/java/com/fr/plugin/pack/exception/WidgetExceedException.java

4
src/main/java/com/fr/plugin/pack/exception/ReportExceedException.java

@ -9,6 +9,10 @@ import com.fr.plugin.pack.PackConstants;
* Created by Jonas on 2020-10-19 * Created by Jonas on 2020-10-19
*/ */
public class ReportExceedException extends FineEngineException { public class ReportExceedException extends FineEngineException {
public ReportExceedException() {
super("模板并发访问超过最大限制");
}
@Override @Override
public String errorCode() { public String errorCode() {
return PackConstants.REPORT_EXCEED_ERROR; return PackConstants.REPORT_EXCEED_ERROR;

4
src/main/java/com/fr/plugin/pack/exception/WidgetExceedException.java

@ -9,6 +9,10 @@ import com.fr.plugin.pack.PackConstants;
* Created by Jonas on 2020-10-19 * Created by Jonas on 2020-10-19
*/ */
public class WidgetExceedException extends FineEngineException { public class WidgetExceedException extends FineEngineException {
public WidgetExceedException() {
super("组件并发访问超过最大限制");
}
@Override @Override
public String errorCode() { public String errorCode() {
return PackConstants.WIDGET_EXCEED_ERROR; return PackConstants.WIDGET_EXCEED_ERROR;

Loading…
Cancel
Save