Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PE-D] [FUNCTIONALITY] programme terminates after wrong input #51

Open
nus-se-script opened this issue Apr 1, 2022 · 0 comments
Open

Comments

@nus-se-script
Copy link

Describe the bug
When there is wrong input, exception is returned, followed by termination of the programme.

To Reproduce
Steps to reproduce the behavior:

  1. Open a command window
  2. Run the JAR file in the appropriate file location using "java -jar tp.main.jar"
  3. Type "add doctor" as input
  4. See error

Expected behavior
There should be some output to inform the user that he/she has put in incorrect input, and continue running the programme.

Screenshots
image.png

Additional context
Some exception handling should be done for incorrect input.


Labels: severity.High type.FunctionalityBug
original: quitejasper/ped#2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant