You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2005/11/03 02:08:55 UTC
[jira] Created: (DIRMINA-111) MessageHandler.messageReceived(...) doesn't throw Exception
MessageHandler.messageReceived(...) doesn't throw Exception
-----------------------------------------------------------
Key: DIRMINA-111
URL: http://issues.apache.org/jira/browse/DIRMINA-111
Project: Directory MINA
Type: Bug
Versions: 0.8
Reporter: Trustin Lee
Assigned to: Trustin Lee
Fix For: 0.8.1
Jose Alberto Fernandez wrote:
Is there any reason why org.apache.mina.protocol.handler.MessageHandler.messageReceived() does not allow throwing an Exception? I would have thought the signature should be similar to org.apache.mina.protocol.ProtocolHandler.messageReceived().
This means you need to treat error conditions differently depending if you use one implementation strategy or another.
Any thoughts about it?
Re) This is a flaw in API. I'll fix the method signature in 0.8.1.
--
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
[jira] Closed: (DIRMINA-111) MessageHandler.messageReceived(...) doesn't throw Exception
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/DIRMINA-111?page=all ]
Trustin Lee closed DIRMINA-111:
-------------------------------
Resolution: Fixed
Changed the method signature just like ProtocolHandler.messageReceived()
> MessageHandler.messageReceived(...) doesn't throw Exception
> -----------------------------------------------------------
>
> Key: DIRMINA-111
> URL: http://issues.apache.org/jira/browse/DIRMINA-111
> Project: Directory MINA
> Type: Bug
> Versions: 0.8
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Fix For: 0.8.1
>
> Jose Alberto Fernandez wrote:
> Is there any reason why org.apache.mina.protocol.handler.MessageHandler.messageReceived() does not allow throwing an Exception? I would have thought the signature should be similar to org.apache.mina.protocol.ProtocolHandler.messageReceived().
> This means you need to treat error conditions differently depending if you use one implementation strategy or another.
> Any thoughts about it?
> Re) This is a flaw in API. I'll fix the method signature in 0.8.1.
--
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