Well I guess I can use Thread.setDefaultUncaughtExceptionHandler(...)
Hanson On 9/22/06, Hanson Char <[EMAIL PROTECTED]> wrote:
Hi, AFAIK, the address binding by a SocketAccetpor in Mina 0.8.2 is done asynchronously. If the port is already in use, the binding would fail of course. Is there anyway the application can detect such failure, so that it can initiate some actions to handle it (such as exiting the JVM, or try another port, etc.) ? Thanks in advance. Hanson
