Step to reproduce: 1. Run the program. In the "Route Planning System" menu, input 2 to choose "Get facility info". Then in the "Get facility info" menu, input 1 to choose "Search a facility". 2. For "Please enter station name:", input Sha tin. Note that Sha tin is not a valid station name. Expected output: an error message of "invalid output". Actual output: no error message at all. I have added a test case for this. Please add the exception handler and rerun the test.
Fixed. Now when the Station searched by the input is null, a new exception will be created and the Invalid Input message will be printed.