/** * Autogenerated Proxy Method * @param integer $statusCode The HTTP status code * @param string $statusMessage A custom HTTP status message * @param string $content Body content which further explains the status * @throws \TYPO3\Flow\Mvc\Exception\UnsupportedRequestTypeException If the request is not a web request * @throws \TYPO3\Flow\Mvc\Exception\StopActionException */ protected function throwStatus($statusCode, $statusMessage = NULL, $content = NULL) { // FIXME this can be removed again once Doctrine is fixed (see fixMethodsAndAdvicesArrayForDoctrineProxiesCode()) $this->Flow_Aop_Proxy_fixMethodsAndAdvicesArrayForDoctrineProxies(); if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode['throwStatus'])) { $result = parent::throwStatus($statusCode, $statusMessage, $content); } else { $this->Flow_Aop_Proxy_methodIsInAdviceMode['throwStatus'] = TRUE; try { $methodArguments = array(); $methodArguments['statusCode'] = $statusCode; $methodArguments['statusMessage'] = $statusMessage; $methodArguments['content'] = $content; $adviceChains = $this->Flow_Aop_Proxy_getAdviceChains('throwStatus'); $adviceChain = $adviceChains['TYPO3\\Flow\\Aop\\Advice\\AroundAdvice']; $adviceChain->rewind(); $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'SKL\\Post\\Controller\\CategoryController', 'throwStatus', $methodArguments, $adviceChain); $result = $adviceChain->proceed($joinPoint); $methodArguments = $joinPoint->getMethodArguments(); } catch (\Exception $e) { unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['throwStatus']); throw $e; } unset($this->Flow_Aop_Proxy_methodIsInAdviceMode['throwStatus']); } return $result; }