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:27:54 UTC

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

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