以下是我的代码
throw new AVException(202, history);
其中history为String型变量以下是我收到的错误信息
history
补充:
@EngineHook(className = "xxx", type = EngineHookType.beforeSave) public static AVObject xxx(AVObject object) throws Exception { //xxx throw new AVException(202, history); }
把 throw new AVException 改成 throw new Exception 试试?
throw new AVException
throw new Exception