https://bz.apache.org/bugzilla/show_bug.cgi?id=69920

--- Comment #2 from Remy Maucherat <[email protected]> ---
I had a look and I agree that a consistent exception type like IOException is
good.

However, the reason why writeMessagePart uses IllegalStateException is because
some of the callers don't have have "throws IOException".

To standardize on IOException, those callers like for example
EndMessageHandler.onResult would have to catch and wrap the IOException into an
ISE. This sounds acceptable.

Ok for the Writer/OutputStream commentary from Mark.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to