Client: catch la NumberFormatException #112
louis_royer
commented 2020-04-03 21:34:04 +02:00
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)
```
louis_royer
added the 2020-04-03 21:34:04 +02:00
bug
easy
labels
louis_royer
referenced this issue from a commit 2020-04-03 22:03:18 +02:00
Fix #112 Fix #107
louis_royer
referenced a pull request that will close this issue 2020-04-03 22:03:34 +02:00
Fix #112 Fix #107 #113
louis_royer
referenced this issue from a commit 2020-04-03 22:04:20 +02:00
Fix #112 Fix #107 (#113)
Fix #112 Fix #107
louis_royer
closed this issue 2020-04-03 22:04:20 +02:00
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?