Client: catch la NumberFormatException #112
Collaborator
```text
Starting with TCP
Files present on the server:
0 : Exit the program
1 : PolySTRI_combacau.pdf
2 : test
Type the number associated with the file to download:
Exception in thread "client P2P-JAVA-PROJECT" java.lang.NumberFormatException: For input string: ""
at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.base/java.lang.Integer.parseInt(Integer.java:662)
at java.base/java.lang.Integer.parseInt(Integer.java:770)
at clientP2P.ClientManagement.run(ClientManagement.java:291)
at java.base/java.lang.Thread.run(Thread.java:834)
```
bug
easy
labels
Fix #112 Fix #107
Fix #112 Fix #107 #113
Fix #112 Fix #107 (#113)
Fix #112 Fix #107
Labels
No Label
bug
documentation
duplicate
easy
enhancement
help wanted
important
invalid
low priority
protocol
question
refactoring
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: flavien/Projet_JAVA_P2P_STRI2A#112
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?