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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]
IoService}.
*
* @param service the [EMAIL PROTECTED] IoService}
*/
- void serviceDeactivated(IoService service);
+ void serviceDeactivated(IoService service) throws Exception;
/**
* Invoked when a new session is created by an [EMAIL PROTECTED]
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 [EMAIL PROTECTED]
IoService}.
*
* @param session the session to be destroyed
*/
- void sessionDestroyed(IoSession session);
+ void sessionDestroyed(IoSession session) throws Exception;
}