I have a scenario where the call to writer.writeTo in JAXRSOutInterceptor.serializeMessage throws an exception.
Before throwing the exception, the writer writes to the message's outputStream. When write.writeTo throws the exception, handleWriteException calls message.put(Message.RESPONSE_CODE, 500). However, my HTTP client is seeing the response come back with HTTP response code 200. The following is appended to the response that the writer put into the message's outputStream: Error serializing the response, please check the server logs, response class : UsageResponse. Benji
