|
Duplicate :
|
|
|
Relates :
|
Exception handling can be improved with better exception messages which convey state.
e.g
Http1Request.java
319 if (contentWritten != contentLength) {
320 throw new IOException("wrong content length");
Let's print the length value.
|