directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r330401 - in /directory/network: branches/0.8/src/java/org/apache/mina/protocol/handler/ trunk/src/java/org/apache/mina/handler/
Date Thu, 03 Nov 2005 01:09:21 GMT
Author: trustin
Date: Wed Nov  2 17:09:13 2005
New Revision: 330401

URL: http://svn.apache.org/viewcvs?rev=330401&view=rev
Log:
Resolved issue: DIRMINA-111 MessageHandler.messageReceived(...) doesn't throw Exception
* Changed the method signature to throw any exceptions


Modified:
    directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/DemuxingProtocolHandler.java
    directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/MessageHandler.java
    directory/network/trunk/src/java/org/apache/mina/handler/DemuxingIoHandler.java
    directory/network/trunk/src/java/org/apache/mina/handler/MessageHandler.java

Modified: directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/DemuxingProtocolHandler.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/DemuxingProtocolHandler.java?rev=330401&r1=330400&r2=330401&view=diff
==============================================================================
--- directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/DemuxingProtocolHandler.java
(original)
+++ directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/DemuxingProtocolHandler.java
Wed Nov  2 17:09:13 2005
@@ -86,7 +86,7 @@
      * Forwards the received events into the appropriate {@link MessageHandler}
      * which is registered by {@link #addMessageHandler(Class, MessageHandler)}.
      */
-    public void messageReceived( ProtocolSession session, Object message )
+    public void messageReceived( ProtocolSession session, Object message ) throws Exception
     {
         MessageHandler handler = findHandler( message.getClass() );
         if( handler != null )

Modified: directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/MessageHandler.java
URL: http://svn.apache.org/viewcvs/directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/MessageHandler.java?rev=330401&r1=330400&r2=330401&view=diff
==============================================================================
--- directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/MessageHandler.java
(original)
+++ directory/network/branches/0.8/src/java/org/apache/mina/protocol/handler/MessageHandler.java
Wed Nov  2 17:09:13 2005
@@ -46,5 +46,5 @@
      * Invoked when the specific type of message is received from the
      * specified <code>session</code>.
      */
-    void messageReceived( ProtocolSession session, Object message );
+    void messageReceived( ProtocolSession session, Object message ) throws Exception;
 }

Modified: directory/network/trunk/src/java/org/apache/mina/handler/DemuxingIoHandler.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/DemuxingIoHandler.java?rev=330401&r1=330400&r2=330401&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/DemuxingIoHandler.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/DemuxingIoHandler.java Wed Nov
 2 17:09:13 2005
@@ -87,7 +87,7 @@
      * Forwards the received events into the appropriate {@link MessageHandler}
      * which is registered by {@link #addMessageHandler(Class, MessageHandler)}.
      */
-    public void messageReceived( IoSession session, Object message )
+    public void messageReceived( IoSession session, Object message ) throws Exception
     {
         MessageHandler handler = findHandler( message.getClass() );
         if( handler != null )

Modified: directory/network/trunk/src/java/org/apache/mina/handler/MessageHandler.java
URL: http://svn.apache.org/viewcvs/directory/network/trunk/src/java/org/apache/mina/handler/MessageHandler.java?rev=330401&r1=330400&r2=330401&view=diff
==============================================================================
--- directory/network/trunk/src/java/org/apache/mina/handler/MessageHandler.java (original)
+++ directory/network/trunk/src/java/org/apache/mina/handler/MessageHandler.java Wed Nov 
2 17:09:13 2005
@@ -46,5 +46,5 @@
      * Invoked when the specific type of message is received from the
      * specified <code>session</code>.
      */
-    void messageReceived( IoSession session, Object message );
+    void messageReceived( IoSession session, Object message ) throws Exception;
 }



Mime
View raw message