补充:

@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 试试?