|
|
|
@ -136,10 +136,10 @@ public class PackHttpHandler extends BaseHttpHandler {
|
|
|
|
|
|
|
|
|
|
private static FineRespond handleException(Exception e) { |
|
|
|
|
if (e instanceof ReportExceedException) { |
|
|
|
|
return FineRespond.fail(((ReportExceedException) e).errorCode(), e.getMessage()); |
|
|
|
|
return FineRespond.fail(((ReportExceedException) e).errorCode(), "模板并发访问超过最大限制"); |
|
|
|
|
} |
|
|
|
|
if (e instanceof WidgetExceedException) { |
|
|
|
|
return FineRespond.fail(((WidgetExceedException) e).errorCode(), e.getMessage()); |
|
|
|
|
return FineRespond.fail(((WidgetExceedException) e).errorCode(), "组件并发访问超过最大限制"); |
|
|
|
|
} |
|
|
|
|
return Reflect.on(BaseAction.class).call("getExceptionRespond", e).get(); |
|
|
|
|
} |
|
|
|
|