directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Trustin Lee (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRMINA-111) MessageHandler.messageReceived(...) doesn't throw Exception
Date Thu, 03 Nov 2005 01:08:55 GMT
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


Mime
View raw message