Commit b4bdb16bf12ebb080fc2a6f1bf5fb495a017fd07
1 parent
a174fc7a
finish
Showing
3 changed files
with
1 additions
and
1 deletions
Show diff stats
grid.data
No preview for this file type
rapport_finale.md renamed to rapport_final.md
src/ihm/TablooProto.java
@@ -249,7 +249,7 @@ public class TablooProto extends JPanel { | @@ -249,7 +249,7 @@ public class TablooProto extends JPanel { | ||
249 | Matcher binaryOperationMatcher = binaryOperationPattern.matcher(input); | 249 | Matcher binaryOperationMatcher = binaryOperationPattern.matcher(input); |
250 | 250 | ||
251 | if (!binaryOperationMatcher.matches()) | 251 | if (!binaryOperationMatcher.matches()) |
252 | - throw new BadSyntaxException(); | 252 | + throw new BadSyntaxException("Erreur de syntaxe."); |
253 | 253 | ||
254 | Cell leftCell = grid.getCell(binaryOperationMatcher.group(1)); | 254 | Cell leftCell = grid.getCell(binaryOperationMatcher.group(1)); |
255 | Cell rightCell = grid.getCell(binaryOperationMatcher.group(3)); | 255 | Cell rightCell = grid.getCell(binaryOperationMatcher.group(3)); |