You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Vinod Panicker (JIRA)" <ji...@apache.org> on 2006/08/31 08:20:23 UTC
[jira] Created: (DIRMINA-249) exceptionCaught() should provide more
information
exceptionCaught() should provide more information
-------------------------------------------------
Key: DIRMINA-249
URL: http://issues.apache.org/jira/browse/DIRMINA-249
Project: Directory MINA
Issue Type: Improvement
Affects Versions: 0.9.4
Environment: All
Reporter: Vinod Panicker
Currently if the application calls a write() on MINA, it will get notified of any exceptions via the exceptionCaught() method. The problem is that the application does not have any information as to what data could not be written on the session. To figure that out, it either has to wait on the WriteFuture or implement some state mechanism within the IoSession.
Trustin recommended that a WriteException could be created, which could provide the necessary information. It should have the ByteBuffer for which the write() failed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira