Fixing exception message
This commit is contained in:
parent
83fcdda906
commit
e8eed798ab
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue