private static function exceptionFilters($actionContext, $exception) {
        $context = new ExceptionContext($actionContext, $exception);
        
        $filters = $actionContext->getFilters();

        foreach ($filters as $filter) {
            $filter->exception($context);
        }

        return $context;
    }
private static function exceptionFilters($actionContext, $exception) {
        $context = new ExceptionContext($actionContext, $exception);
        
        $filters = $actionContext->getFilters();

        foreach ($filters as $filter) {
            $filter->exception($context);
        }

        return $context;
    }
private static function exceptionFilters ( $ actionContext , $ exception ) { $ context = new ExceptionContext ( $ actionContext , $ exception ) ; $ filters = $ actionContext -> getFilters ( ) ; foreach ( $ filters as $ filter ) { $ filter -> exception ( $ context ) ; } return $ context ; }
Calls the exception methods.

@param ActionContext $actionContext The context of the action.
@param \Exception $exception The exception.

@return ExceptionContext
Calls the exception methods .