[ 
https://issues.apache.org/jira/browse/TUSCANY-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rashmi Hunt updated TUSCANY-1518:
---------------------------------

    Description: 
Insufficient error message by Tuscany,  "Pass-by-value not allowed on this 
object"

On a remotable service interface, if user makes a mistake of passing a java 
type as parameter which is not serializable, Tuscany throws an 
exception "Pass-by-value not allowed on this object". This message is 
insufficient since user will not be able to understand that the real issue
is parameter is not a serilizable type. Better message could be "Paramater xxx 
is not serializable. Pass-by-value not allowed on this object"

This exception is  thrown from 
org.apache.tuscany.sca.databinding.javabeans.JavaBeansDataBinding.copy() method 
, line number 78


  was:
Insufficient error message by Tuscany,  "Pass-by-value not allowed on this 
object"

On a remotable service interface, if user makes a mistake of passing a java 
type as parameter which is not serializable, Tuscany throws an 
exception "Pass-by-value not allowed on this object". This message is 
insufficient since user will not be able to understand that the real issue
is parameter is not a serilizable type. Better message could be "Paramater xxx 
is not serializable. Pass-by-value not allowed on this object"

This exception is  thrown from 
org.apache.tuscany.sca.databinding.javabeans.copy() method , line number 78



> Insufficient error message,  "Pass-by-value not allowed on this object"
> -----------------------------------------------------------------------
>
>                 Key: TUSCANY-1518
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1518
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Problem Determination
>            Reporter: Rashmi Hunt
>
> Insufficient error message by Tuscany,  "Pass-by-value not allowed on this 
> object"
> On a remotable service interface, if user makes a mistake of passing a java 
> type as parameter which is not serializable, Tuscany throws an 
> exception "Pass-by-value not allowed on this object". This message is 
> insufficient since user will not be able to understand that the real issue
> is parameter is not a serilizable type. Better message could be "Paramater 
> xxx is not serializable. Pass-by-value not allowed on this object"
> This exception is  thrown from 
> org.apache.tuscany.sca.databinding.javabeans.JavaBeansDataBinding.copy() 
> method , line number 78

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to