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