Commit 8966cd99 authored by swift_gan's avatar swift_gan Committed by swift_gan

fuck throw exception

parent 5eb40da3
...@@ -281,12 +281,10 @@ public class HookStubManager { ...@@ -281,12 +281,10 @@ public class HookStubManager {
param.setThrowable(lastThrowable); param.setThrowable(lastThrowable);
} }
} while (--afterIdx >= 0); } while (--afterIdx >= 0);
if (!param.hasThrowable()) {
if (param.hasThrowable()) {
return entity.getResultAddress(param.getResult()); return entity.getResultAddress(param.getResult());
} else { } else {
final Object result = param.getResult(); throw param.getThrowable();
return entity.getResultAddress(result);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment