[jboss-remoting-commits] JBoss Remoting SVN: r4438 - remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Tue Jul 29 15:54:18 EDT 2008


Author: david.lloyd at jboss.com
Date: 2008-07-29 15:54:18 -0400 (Tue, 29 Jul 2008)
New Revision: 4438

Modified:
   remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java
Log:
Fix compile error

Modified: remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java
===================================================================
--- remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java	2008-07-29 19:34:26 UTC (rev 4437)
+++ remoting3/trunk/api/src/main/java/org/jboss/cx/remoting/spi/wrapper/ClientSourceWrapper.java	2008-07-29 19:54:18 UTC (rev 4438)
@@ -4,6 +4,7 @@
 import org.jboss.cx.remoting.Client;
 import org.jboss.cx.remoting.ClientSource;
 import org.jboss.cx.remoting.RemotingException;
+import java.io.IOException;
 
 /**
  * A simple delegating wrapper for client sources.
@@ -26,7 +27,7 @@
     /**
      * {@inheritDoc}  This implementation calls the same method on the delegate object.
      */
-    public void close() throws RemotingException {
+    public void close() throws IOException {
         delegate.close();
     }
 
@@ -44,7 +45,7 @@
     /**
      * {@inheritDoc}  This implementation calls the same method on the delegate object.
      */
-    public Client<I, O> createClient() throws RemotingException {
+    public Client<I, O> createClient() throws IOException {
         return delegate.createClient();
     }
 }




More information about the jboss-remoting-commits mailing list