Browse Source

Throw exception for non-implemented drawGraph methods.

Holt59 6 years ago
parent
commit
a2d03a0857
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/main/org/insa/graphics/drawing/components/MapViewDrawing.java

+ 2
- 2
src/main/org/insa/graphics/drawing/components/MapViewDrawing.java View File

@@ -403,12 +403,12 @@ public class MapViewDrawing extends MapView implements Drawing {
403 403
 
404 404
     @Override
405 405
     public void drawGraph(Graph graph, GraphPalette palette) {
406
-        // drawGraph(graph, null);
406
+        throw new RuntimeException("Not implemented, use drawGraph(File).");
407 407
     }
408 408
 
409 409
     @Override
410 410
     public void drawGraph(Graph graph) {
411
-        // drawGraph(graph, null);
411
+        throw new RuntimeException("Not implemented, use drawGraph(File).");
412 412
     }
413 413
 
414 414
     @Override

Loading…
Cancel
Save