commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jcar...@apache.org
Subject svn commit: r394098 - in /jakarta/commons/sandbox/proxy/trunk/src: java/org/apache/commons/proxy/exception/ java/org/apache/commons/proxy/invoker/ test/org/apache/commons/proxy/exception/ test/org/apache/commons/proxy/invoker/
Date Fri, 14 Apr 2006 13:54:13 GMT
Author: jcarman
Date: Fri Apr 14 06:54:12 2006
New Revision: 394098

URL: http://svn.apache.org/viewcvs?rev=394098&view=rev
Log:
Renamed InvocationHandlerException to InvokerException.

Added:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java
  (contents, props changed)
      - copied, changed from r393574, jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvocationHandlerException.java
Removed:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvocationHandlerException.java
Modified:
    jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/invoker/XmlRpcInvoker.java
    jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/exception/TestInvocationHandlerException.java
    jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/invoker/TestXmlRpcInvoker.java

Copied: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java
(from r393574, jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvocationHandlerException.java)
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java?p2=jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java&p1=jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvocationHandlerException.java&r1=393574&r2=394098&rev=394098&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvocationHandlerException.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java
Fri Apr 14 06:54:12 2006
@@ -17,26 +17,28 @@
 package org.apache.commons.proxy.exception;
 
 /**
+ * To be used by an {@link org.apache.commons.proxy.Invoker} when they encounter an error.
+ *
  * @author James Carman
  * @since 1.0
  */
-public class InvocationHandlerException extends RuntimeException
+public class InvokerException extends RuntimeException
 {
-    public InvocationHandlerException()
+    public InvokerException()
     {
     }
 
-    public InvocationHandlerException( String message )
+    public InvokerException( String message )
     {
         super( message );
     }
 
-    public InvocationHandlerException( Throwable cause )
+    public InvokerException( Throwable cause )
     {
         super( cause );
     }
 
-    public InvocationHandlerException( String message, Throwable cause )
+    public InvokerException( String message, Throwable cause )
     {
         super( message, cause );
     }

Propchange: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/exception/InvokerException.java
------------------------------------------------------------------------------
    svn:keywords = Id

Modified: jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/invoker/XmlRpcInvoker.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/invoker/XmlRpcInvoker.java?rev=394098&r1=394097&r2=394098&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/invoker/XmlRpcInvoker.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/java/org/apache/commons/proxy/invoker/XmlRpcInvoker.java
Fri Apr 14 06:54:12 2006
@@ -17,7 +17,7 @@
 package org.apache.commons.proxy.invoker;
 
 import org.apache.commons.proxy.Invoker;
-import org.apache.commons.proxy.exception.InvocationHandlerException;
+import org.apache.commons.proxy.exception.InvokerException;
 import org.apache.xmlrpc.XmlRpcException;
 import org.apache.xmlrpc.XmlRpcHandler;
 
@@ -52,7 +52,7 @@
         final Object returnValue = handler.execute( handlerName + "." + method.getName(),
toArgumentVector( args ) );
         if( returnValue instanceof XmlRpcException )
         {
-            throw new InvocationHandlerException( "Unable to execute XML-RPC call.", ( XmlRpcException
)returnValue );
+            throw new InvokerException( "Unable to execute XML-RPC call.", ( XmlRpcException
)returnValue );
 
         }
         return returnValue;

Modified: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/exception/TestInvocationHandlerException.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/exception/TestInvocationHandlerException.java?rev=394098&r1=394097&r2=394098&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/exception/TestInvocationHandlerException.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/exception/TestInvocationHandlerException.java
Fri Apr 14 06:54:12 2006
@@ -15,13 +15,10 @@
  * limitations under the License.
  */
 package org.apache.commons.proxy.exception;
-import junit.framework.*;
-import org.apache.commons.proxy.exception.InvocationHandlerException;
-
 public class TestInvocationHandlerException extends AbstractExceptionClassTestCase
 {
     public TestInvocationHandlerException()
     {
-        super( InvocationHandlerException.class );
+        super( InvokerException.class );
     }
 }

Modified: jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/invoker/TestXmlRpcInvoker.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/invoker/TestXmlRpcInvoker.java?rev=394098&r1=394097&r2=394098&view=diff
==============================================================================
--- jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/invoker/TestXmlRpcInvoker.java
(original)
+++ jakarta/commons/sandbox/proxy/trunk/src/test/org/apache/commons/proxy/invoker/TestXmlRpcInvoker.java
Fri Apr 14 06:54:12 2006
@@ -1,4 +1,4 @@
-/* $Id$
+/* $Id:TestXmlRpcInvoker.java 325897 2005-10-17 10:11:52 -0400 (Mon, 17 Oct 2005) jcarman
$
  *
  * Copyright 2005 The Apache Software Foundation.
  *
@@ -22,7 +22,7 @@
 import junit.framework.TestCase;
 import junit.framework.TestResult;
 import junit.framework.TestSuite;
-import org.apache.commons.proxy.exception.InvocationHandlerException;
+import org.apache.commons.proxy.exception.InvokerException;
 import org.apache.commons.proxy.factory.cglib.CglibProxyFactory;
 import org.apache.commons.proxy.util.Echo;
 import org.apache.commons.proxy.util.EchoImpl;
@@ -87,7 +87,7 @@
             echo.echoBack( "Hello" );
             fail();
         }
-        catch( InvocationHandlerException e )
+        catch( InvokerException e )
         {
         }
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message