{
throw new CategorieException(
"La catégorie ne participe pas à la saison. ");
}
Tarification before = null;
boolean update = true;
Tarification tarification = this.getCategorieParticipante(course,
categorie);
if (tarification == null)
{
tarification = new Tarification(course, categorie);
update = false;
}
else
{
before = tarification;
tarification = (Tarification) tarification.copy();
}
tarification.setPrix(prix);
boolean result;
try
{