use of exceptions.UtilisateurInexistantException in project Synthese_2BIN by TheYoungSensei.
the class GestionEncheres method rechercherUtilisateur.
private Utilisateur rechercherUtilisateur(Utilisateur utilisateur) throws UtilisateurInexistantException {
checkObject(utilisateur);
Utilisateur uSt = utilisateurs.get(utilisateur.getNum());
if (uSt == null)
throw new UtilisateurInexistantException();
return uSt;
}
Aggregations