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

Kelvin Goodson updated TUSCANY-1055:
------------------------------------

    Fix Version/s:     (was: Java-SDO-Mx)
                   Java-SDO-M3

> DataFactory.create(abstract_type) should throw an IllegalArgumentException
> --------------------------------------------------------------------------
>
>                 Key: TUSCANY-1055
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1055
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SDO Implementation
>    Affects Versions: Java-SDO-Mx
>         Environment: You should see this error in any environment. 
>            Reporter: Ki Park
>            Priority: Minor
>             Fix For: Java-SDO-M3
>
>         Attachments: TUSCANY-1055.patch
>
>
> Use an Abstract type as a parameter of DataObject.create() and it works fine 
> now without any exception, but it should throw an exception.
> According to the spec in section 3.7.2 Creating Data Objects, it reads:
>   - Type.dataType and abstract must be both fase.
>   - Throw an IllegalArgumentException if the instanceClass does not 
> correspond to a Type this factory can instantiate.

-- 
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