db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-582) Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
Date Fri, 12 Sep 2008 02:45:44 GMT

    [ https://issues.apache.org/jira/browse/JDO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12630467#action_12630467
] 

Craig Russell commented on JDO-582:
-----------------------------------

The setup is what I expected. 

I had suggested using javax.jdo.JDOHelper$BadPMFNoGetPMFMethod and javax.jdo.JDOHelper$BadPMFNonStaticGetPMFMethod
in the services files. Nothing wrong with what you've got though.

But do make sure that the props you pass in don't contain the class name of pu name property.




> Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
> ----------------------------------------------------------------------------------------------
>
>                 Key: JDO-582
>                 URL: https://issues.apache.org/jira/browse/JDO-582
>             Project: JDO
>          Issue Type: Bug
>          Components: api2, api2-legacy
>            Reporter: Erik Bengtson
>            Assignee: Richard Schilling
>             Fix For: JDO 2 maintenance release 2
>
>         Attachments: 20080710-jdo-582.diff, 20080710-jdo-582.diff, 20080911-jdo-582-JDOHelper.patch,
20080911-jdo-582-JDOHelperConfigTest.patch, 20080911-jdo-582-Negative09.patch, 20080911-jdo-582.patch,
20080911-jdo-582.patch, estedExceptionJDOHelper.patch, Negative09.zip
>
>
> After collecting exceptions from invoking getPersistenceManagerFactory on all implementations,
if no implementation has succeeded in returning a PersistenceManagerFactory, an exception
is thrown, and the argument should be a Throwable[]. Otherwise, it's treated as a failed object
instead of nested exceptions.

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


Mime
View raw message