Uploaded image for project: 'MINA'
  1. MINA
  2. DIRMINA-111

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.1
    • 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.

      Attachments

        Activity

          People

            trustin Trustin Lee
            trustin Trustin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: