1simjustin / pe

0 stars 0 forks source link

Application does not exit gracefull on ctrl + c #2

Open 1simjustin opened 2 months ago

1simjustin commented 2 months ago

image.png

On pressing ctrl + c (force exit), the program does not exit gracefully and instead calls an exception prior to crashing

soc-pe-bot commented 2 months ago

Team's Response

There is no way to completely suppress the error message generated by a user interrupt (ctrl + c) through our code as this error message is generated by the JVM, which is not under our control.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: An exception on invoking ctrl+c is still an exception. It can indeed be suppressed by using Scanner.hasNextLine() validation (which would circumvent No Line Found error message).


## :question: Issue type Team chose [`type.FeatureFlaw`] Originally [`type.FunctionalityBug`] - [ ] I disagree **Reason for disagreement:** [replace this with your explanation]