/** * @return JointPoint */ public static function createThrowException($sThrowClassNamePattern, $sWeaveClass, $sWeaveMethodNamePattern = '*') { $aJointPoint = new self(); $aJointPoint->setExecutionPattern("throw {$sThrowClassNamePattern}"); $aJointPoint->setWeaveClass($sWeaveClass); $aJointPoint->setWeaveMethod($sWeaveMethodNamePattern); return $aJointPoint; }