Package com.jcabi.aspects.aj
Class MethodInterrupter
- java.lang.Object
-
- com.jcabi.aspects.aj.MethodInterrupter
-
-
Constructor Summary
Constructors Constructor Description MethodInterrupter()
Public ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
wrap(org.aspectj.lang.ProceedingJoinPoint point)
Run and interrupt a method, if stuck.
-
-
-
Method Detail
-
wrap
public Object wrap(org.aspectj.lang.ProceedingJoinPoint point) throws Throwable
Run and interrupt a method, if stuck.Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
- Throws:
Throwable
- If something goes wrong inside
-
-