exo6: add the full implementation.
[Project_POO.git] / exo6 / Opdiv.java
index 0fe971828cba3ccc6cf59b6048d165344b65583e..dd85ebc8304ee0cfc077b6320d34c255b0cd7655 100644 (file)
@@ -5,7 +5,7 @@ class Opdiv extends Opmul {
         super(g, d);
     }
 
-    public double evaluer() {
+    public double evaluer() throws NotDigitException {
         return gauche.evaluer() / droite.evaluer();
     }
 }