Closed XYLau closed 10 years ago
@ngthnhan For error messages for invalid input, you may want to pass your error message to the IllegalArgumentException's constructor. The controller will then use the exception's getMessage() method to put your error message into ErrorFeedback.
The validation of input is now done implicitly in the process of parsing the input. If the input is not valid, it will be deemed as a part of description
As a user, I want to have input validation so that I will be alertedd whenever I make an invalid input.