You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Mark Combellack (JIRA)" <tu...@ws.apache.org> on 2008/04/03 17:24:24 UTC

[jira] Created: (TUSCANY-2194) When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown

When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown
----------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2194
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2194
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-Next
         Environment: SVN revision 644273 on the root
Linux
            Reporter: Mark Combellack
            Assignee: Mark Combellack
             Fix For: Java-SCA-Next


When a @Remotable interface contains two methods with the same name, Tuscany will throw an OverloadedOperationException. The only problem is that when this exception is output to the console, it does not list the method name or class that has the problem. This makes finding the issue very hard as you don't know where to start.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (TUSCANY-2194) When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown

Posted by "Mark Combellack (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585136#action_12585136 ] 

Mark Combellack commented on TUSCANY-2194:
------------------------------------------

The problem is actually in the org.apache.tuscany.sca.interfacedef.OverloadedOperationException class itself. The constructor takes the Opeation as a parameter but it does not specify a detailed message for the exception. Therefore, the exception will just output the exception name and no details about the overloaded method.

> When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2194
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2194
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>         Environment: SVN revision 644273 on the root
> Linux
>            Reporter: Mark Combellack
>            Assignee: Mark Combellack
>             Fix For: Java-SCA-Next
>
>
> When a @Remotable interface contains two methods with the same name, Tuscany will throw an OverloadedOperationException. The only problem is that when this exception is output to the console, it does not list the method name or class that has the problem. This makes finding the issue very hard as you don't know where to start.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (TUSCANY-2194) When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown

Posted by "Mark Combellack (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mark Combellack resolved TUSCANY-2194.
--------------------------------------

    Resolution: Fixed

I've updated the text for the the OperationOverloadedException to include the method and class names. This should make fixing this issue easier for the user.

The fix is in SVN revision 644358 in modules/interface

I've also added a unit test in SVN revision 644365 in modules/interface-java

Note: These changes are on the root. I have not rippled them up to the 1.2 branch

> When a @Remotable interface a duplicate operation, it does not list the class name or method in the exception that is thrown
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2194
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2194
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-Next
>         Environment: SVN revision 644273 on the root
> Linux
>            Reporter: Mark Combellack
>            Assignee: Mark Combellack
>             Fix For: Java-SCA-Next
>
>
> When a @Remotable interface contains two methods with the same name, Tuscany will throw an OverloadedOperationException. The only problem is that when this exception is output to the console, it does not list the method name or class that has the problem. This makes finding the issue very hard as you don't know where to start.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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