[ 
http://jira.codehaus.org/browse/CONTINUUM-2570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234936#action_234936
 ] 

Brett Porter commented on CONTINUUM-2570:
-----------------------------------------

this is originally derived from: 
http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?r1=328150&r2=344392&pathrev=400000&diff_format=h



> PlexusJdoUtils swallows exceptions, making it difficult to diagnose some 
> problems
> ---------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2570
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2570
>             Project: Continuum
>          Issue Type: Bug
>          Components: Database
>    Affects Versions: 1.3.6, 1.4.0 (Beta)
>            Reporter: Brett Porter
>             Fix For: 1.4.1 (Beta)
>
>
> Line 160 of PlexusJdoUtils swallows an exception, and retries instead. In 
> some circumstances this may have been valid to retry, but in others the 
> exception will lead to an inconsistent state. The second attempt will fail 
> with a different error, leading to some confusion for the user.
> One of the following solutions should be put in place:
> - log a warning with the original exception, saying it may lead to a later 
> problem
> - review the addition of the retry and determine if it should be removed / 
> made more specific so that the original exception will bubble to the user.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to