Issue Details (XML | Word | Printable)

Key: DIRMINA-143
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Walter Tam
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MINA

SocketAcceptor.bind() should fillInStackTrace() before rethrowing exception

Created: 09/Dec/05 10:39 AM   Updated: 26/May/09 12:47 AM
Return to search
Component/s: None
Affects Version/s: 0.8.1
Fix Version/s: 0.9.1

Time Tracking:
Not Specified

Resolution Date: 24/Jan/06 12:39 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.