/** * @see wcf\action\IAction::__run() */ public function __run() { try { parent::__run(); } catch (\Exception $e) { if ($e instanceof AJAXException) { throw $e; } else { $this->throwException($e); } } }
/** * @see wcf\action\IAction::__run() */ public function __run() { try { parent::__run(); } catch (\Exception $e) { if ($e instanceof AJAXException) { throw $e; } else { throw new AJAXException($e->getMessage()); } } }