| Summary: | InvalidNumberOfInput Error | ||
|---|---|---|---|
| Product: | Group 13 Dating App System (vibing.com) | Reporter: | Varun <avbalaji2-c> |
| Component: | Exception | Assignee: | Varun <avbalaji2-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | pdawieang2-c |
| Priority: | --- | ||
| Version: | 1 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
|
Description
Varun
2020-12-07 23:01:21 HKT
The program does work properly when the input is more than the amount of intended input, however, as you mention, it should throw exception instead. At first, the try-catch is covered the whole input retrieval (change separated input to the variable that will be used for the class creation) so that if the input is less than the amount intended, the InvalidNumberInputClass will invoke. Now, InvalidNumberInputClass will be thrown if the input amount not equal to 8. The bug is now resolved. |