Fixing exception message

This commit is contained in:
Joakim Erdfelt 2015-07-06 14:27:38 -07:00
parent 83fcdda906
commit e8eed798ab
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ public class HttpGenerator
} }
catch(Exception e) catch(Exception e)
{ {
String message= (e instanceof BufferOverflowException)?"Response header too large":e.getMessage(); String message= (e instanceof BufferOverflowException)?"Request header too large":e.getMessage();
throw new IOException(message,e); throw new IOException(message,e);
} }
finally finally