You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by tr...@apache.org on 2008/03/10 06:48:45 UTC

svn commit: r635437 - /mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java

Author: trustin
Date: Sun Mar  9 22:48:44 2008
New Revision: 635437

URL: http://svn.apache.org/viewvc?rev=635437&view=rev
Log:
Resolved issue: DIRMINA-541 (Add 'throws Exception' to IoServiceListener as we did for IoHandler methods.)

Modified:
    mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java

Modified: mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java
URL: http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java?rev=635437&r1=635436&r2=635437&view=diff
==============================================================================
--- mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java (original)
+++ mina/trunk/core/src/main/java/org/apache/mina/common/IoServiceListener.java Sun Mar  9 22:48:44 2008
@@ -33,31 +33,31 @@
      *
      * @param service the {@link IoService}
      */
-    void serviceActivated(IoService service);
+    void serviceActivated(IoService service) throws Exception;
     
     /**
      * Invoked when a service is idle.
      */
-    void serviceIdle(IoService service, IdleStatus idleStatus);
+    void serviceIdle(IoService service, IdleStatus idleStatus) throws Exception;
 
     /**
      * Invoked when a service is deactivated by an {@link IoService}.
      *
      * @param service the {@link IoService}
      */
-    void serviceDeactivated(IoService service);
+    void serviceDeactivated(IoService service) throws Exception;
 
     /**
      * Invoked when a new session is created by an {@link IoService}.
      *
      * @param session the new session
      */
-    void sessionCreated(IoSession session);
+    void sessionCreated(IoSession session) throws Exception;
 
     /**
      * Invoked when a session is being destroyed by an {@link IoService}.
      *
      * @param session the session to be destroyed
      */
-    void sessionDestroyed(IoSession session);
+    void sessionDestroyed(IoSession session) throws Exception;
 }