tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcombell...@apache.org
Subject svn commit: r644358 - /incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
Date Thu, 03 Apr 2008 15:29:03 GMT
Author: mcombellack
Date: Thu Apr  3 08:29:01 2008
New Revision: 644358

URL: http://svn.apache.org/viewvc?rev=644358&view=rev
Log:
TUSCANY-2194 - OverloadedOperationException will now contain the method and class name when
it is written to the console to indicate which method in which class has been overloaded on
a @Remotable interface

Modified:
    incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java

Modified: incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java?rev=644358&r1=644357&r2=644358&view=diff
==============================================================================
--- incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
(original)
+++ incubator/tuscany/java/sca/modules/interface/src/main/java/org/apache/tuscany/sca/interfacedef/OverloadedOperationException.java
Thu Apr  3 08:29:01 2008
@@ -31,7 +31,9 @@
     private final Method operation;
 
     public OverloadedOperationException(Method operation) {
-        super();
+        super(operation == null ? 
+                null : "Cannot overload operation " + operation.getName() 
+                         + " on " + operation.getDeclaringClass().getName());
         this.operation = operation;
     }
 



---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org


Mime
View raw message