directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <>
Subject [jira] Commented: (DIRMINA-143) SocketAcceptor.bind() should fillInStackTrace() before rethrowing exception
Date Sat, 10 Dec 2005 04:39:08 GMT
    [ ] 

Trustin Lee commented on DIRMINA-143:

I think it's not that messy.  Good idea.  What about creating our own exceptions which extends
IOException and wrap throws exceptions?

> SocketAcceptor.bind() should fillInStackTrace() before rethrowing exception
> ---------------------------------------------------------------------------
>          Key: DIRMINA-143
>          URL:
>      Project: Directory MINA
>         Type: Bug
>     Versions: 0.8.1
>     Reporter: Walter Tam
>     Priority: Minor

> When SocketAcceptor.bind() encounters an exception returned from the bind request, it
simply rethrows. The resulting stack trace is from the underlying registration thread which
is not very helpful when debugging the cause. Other similar places like SocketAcceptor.unbind(),
DatagramAcceptor.unbind() does a fillInStackTrace()  before re throwing. 
> Also it will be helpful in this case to add the port number that failed to the message

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message