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] add command does not handle incorrect input from user #54

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

Comments

@nus-se-script
Copy link

Describe the bug
add command does not handle incorrect input from user during parsing, and this is so for every single field/detail required for a doctor.

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 /id jqwojq /n 6464 /ph kajsdhkahdkjshd /e oqwjoqdjoqiwjd" 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#3

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