Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.8.0
-
None
-
None
Description
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.