exo6: add the full implementation.
[Project_POO.git] / exo6 / Opminus.java
index 9e5307adf175609aebbf6a70781e26eb7e2c6769..190cc881f2ae1c70e79ba547f064f80497f04a28 100644 (file)
@@ -5,7 +5,7 @@ class Opminus extends Opadd {
         super(g, d);
     }
 
-    public double evaluer() {
+    public double evaluer() throws NotDigitException {
         return gauche.evaluer() - droite.evaluer();
     }
 }