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.

Reply via email to