protected function executeAndHandleApiException($command, $params)
    {
        try{
            $manager = $this->getManager();
            $handler = array($manager, $command);
            if ( is_callable($handler) ){
            	$data = call_user_func_array($handler, $params);
            }else {
            	throw new \BadMethodCallException('The method "' .$command. '" not exist to this manager. Message showed in mehtod "executeAndHandleApiException" of ChateaClientBundle');
            }
        }catch(ApiException $e){
            if($e->getCode() == 404){
                return null;
            }

            throw $e;
        }

        return $data;
    }