Puspendu Banerjee wrote:
Hi,
I have a quick query

void org.apache.mina.common.AbstractIoAcceptor.bind(SocketAddress
localAddress) throws IOException

Binds to the specified local address and start to accept incoming
connections.
Throws: IOException if failed to bindThrowing BindException will be more
meaningful. Isn't it?

I am using Apache MINA 2.0.0-M1
release<http://mina.apache.org/2008/02/25/apache-mina-200-m1-release.html>

Please explain if you are not agree with me.
BindException extends IOException. You can always check if the thrown exception 
is a BindException.


--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to