package fr.pizzeria.model;

import fr.pizzeria.exception.CreditException;
import fr.pizzeria.exception.DebitException;

public class Client extends AbstractPersonne implements CompteStat{
	
	public Client(int id, String nom, String prenom, double solde) {
		super(id, nom, prenom, solde);
	}
	
	blablabla n importe quoi !
	
	@Override
	public void crediterCompte(double montant) throws CreditException {
		double newSolde = this.solde + montant;
		if(newSolde > 5000) {
			throw new CreditException();
		}
		this.solde = newSolde;
	}

	@Override
	public void debiterCompte(double montant) throws DebitException {
		double newSolde = this.solde - montant;
		if(newSolde < 0) {
			throw new DebitException();
		}
		this.solde = newSolde;
	}
	
}

@@ -289,39 +289,8 @@
 %0A%09%7D%0A
-%09%0A%09blablabla n importe quoi !%0A%09
 %0A%09@O

test jenkins