Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 52017 invoked from network); 31 Oct 2005 14:09:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 31 Oct 2005 14:09:42 -0000 Received: (qmail 11907 invoked by uid 500); 31 Oct 2005 14:09:41 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 11847 invoked by uid 500); 31 Oct 2005 14:09:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 11836 invoked by uid 99); 31 Oct 2005 14:09:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 06:09:40 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.18.242.163] (HELO cellectivity.com) (212.18.242.163) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Oct 2005 06:09:35 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: [MINA] MessageHandler interface Date: Mon, 31 Oct 2005 14:09:16 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [MINA] MessageHandler interface Thread-Index: AcXeHF3IydHgGPiiTpaiqoLpuFKsrQABzFHA From: "Jose Alberto Fernandez" To: "Apache Directory Developers List" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi guys, It 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? Jose Alberto