You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2010/01/11 20:25:54 UTC

[jira] Created: (JCR-2463) Minor spi2dav ExceptionConverter improvements

Minor spi2dav ExceptionConverter improvements
---------------------------------------------

                 Key: JCR-2463
                 URL: https://issues.apache.org/jira/browse/JCR-2463
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-spi2dav
            Reporter: Jukka Zitting
            Priority: Minor


It would be nice if the ExceptionConverter class in spi2dav returned UnsupportedRepositoryOperationExceptions instead of the undeclared UnsupportedOperationExceptions for HTTP 501 responses.

Besides that, the ExceptionConverter.generate() methods should be cleaned to always return the generated exception instead of in some cases returning and in others throwing it.

Finally, there's some unused code and chances for Java 5 cleanups.

I'll attach a patch, and commit it unless anyone objects.

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


[jira] Resolved: (JCR-2463) Minor spi2dav ExceptionConverter improvements

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-2463.
-------------------------

       Resolution: Fixed
    Fix Version/s: 2.1.0
         Assignee: angela

applied patch (typo was already addressed with changes made for JCR-2509 (Revision: #915358)

NOTE: the subversion integration reports that this issue was merged into the 2.0 branch in Rev. #898773... i think there was a typo in the svn msg.

> Minor spi2dav ExceptionConverter improvements
> ---------------------------------------------
>
>                 Key: JCR-2463
>                 URL: https://issues.apache.org/jira/browse/JCR-2463
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-spi2dav
>            Reporter: Jukka Zitting
>            Assignee: angela
>            Priority: Minor
>             Fix For: 2.1.0
>
>         Attachments: JCR-2463.patch
>
>
> It would be nice if the ExceptionConverter class in spi2dav returned UnsupportedRepositoryOperationExceptions instead of the undeclared UnsupportedOperationExceptions for HTTP 501 responses.
> Besides that, the ExceptionConverter.generate() methods should be cleaned to always return the generated exception instead of in some cases returning and in others throwing it.
> Finally, there's some unused code and chances for Java 5 cleanups.
> I'll attach a patch, and commit it unless anyone objects.

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


[jira] Updated: (JCR-2463) Minor spi2dav ExceptionConverter improvements

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-2463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-2463:
-------------------------------

    Attachment: JCR-2463.patch

> Minor spi2dav ExceptionConverter improvements
> ---------------------------------------------
>
>                 Key: JCR-2463
>                 URL: https://issues.apache.org/jira/browse/JCR-2463
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-spi2dav
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: JCR-2463.patch
>
>
> It would be nice if the ExceptionConverter class in spi2dav returned UnsupportedRepositoryOperationExceptions instead of the undeclared UnsupportedOperationExceptions for HTTP 501 responses.
> Besides that, the ExceptionConverter.generate() methods should be cleaned to always return the generated exception instead of in some cases returning and in others throwing it.
> Finally, there's some unused code and chances for Java 5 cleanups.
> I'll attach a patch, and commit it unless anyone objects.

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