package maze; /**

MazeReadingException exception

*

* This class is used to throw exception when reading and initiating the maze from a text file. * * */ public class MazeReadingException extends Exception { private String filename ; public MazeReadingException (String filename) { super("Invalid maze format : " + filename) ; this.filename = filename ; } public String getFilename() { return filename ; } }