Issue Details (XML | Word | Printable)

Key: DIRMINA-111
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Trustin Lee
Reporter: Trustin Lee
Votes: 0
Watchers: 0
Operations

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

MessageHandler.messageReceived(...) doesn't throw Exception

Created: 03/Nov/05 10:08 AM   Updated: 03/Nov/05 10:09 AM
Return to search
Component/s: None
Affects Version/s: 0.8.0
Fix Version/s: 0.8.1

Time Tracking:
Not Specified

Resolution Date: 03/Nov/05 10:09 AM


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



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Trustin Lee made changes - 03/Nov/05 10:09 AM
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]