Go\Aop\Framework\AfterThrowingInterceptor::invoke PHP Method

invoke() public method

After throwing exception invoker
public invoke ( Go\Aop\Intercept\Joinpoint $joinpoint ) : mixed
$joinpoint Go\Aop\Intercept\Joinpoint the concrete joinpoint
return mixed the result of the call to {@link Joinpoint::proceed()}
    public function invoke(Joinpoint $joinpoint)
    {
        try {
            $result = $joinpoint->proceed();
        } catch (Exception $invocationException) {
            $adviceMethod = $this->adviceMethod;
            $adviceMethod($joinpoint);
            throw $invocationException;
        }
        return $result;
    }
AfterThrowingInterceptor