Add toString method for Box Add code to print the shortest path for this particular case.
15 lines
236 B
Java
15 lines
236 B
Java
package maze;
|
|
|
|
public class MazeReadingException
|
|
extends Exception {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
public MazeReadingException (String filename) {
|
|
|
|
super("Invalid maze format : " + filename) ;
|
|
|
|
}
|
|
|
|
}
|