Strange Exception at read

Alan Bateman Alan.Bateman at Sun.COM
Fri Nov 13 07:24:47 PST 2009


向雅 wrote:
> :
> BTW, Alan, what about the exception translate class?
>   
There is clearly merit in looking at the "reset by peer" case so that 
the application can distinguish this from other I/O exceptions. I think 
folks using SocketChannel and legacy Socket would appreciate that too. 
The case for doing something with "access denied" is less clear (to me 
anyway) and I don't expect we'll define a specific exception for that.

-Alan.


More information about the nio-dev mailing list