Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 1705 → Rev 1706

/trunk/services/modules/0.1/Observations.php
218,6 → 218,11
$retour = $service->ajouter($this->ressources, $this->parametres);
} elseif ($this->methode == 'modifier') {
$retour = $service->modifier($this->ressources, $this->parametres);
} else {
$message = "Le sous-service '{$this->sousServiceNom}' du service '{$this->serviceNom}' ".
"ne possède pas de méthode '{$this->methode}' !";
$code = RestServeur::HTTP_NON_IMPLEMENTE;
throw new Exception($message, $code);
}
}
}