Quoting "Kimpton,C (Chris)" <[EMAIL PROTECTED]>:

> Hi,
> 
> This is working great - can I use the preStoreContent method to do
> validations, eg for a minimum set of metatags?
> 
> If so, is there a slide specific exception I can throw that will get
> passed
> out to the client in a meaningful way?  
> 
> I tried raising a runtime exception - but this just comes out as a 500
> Internal Server error.

I will allow preStore and postRetrieve to throw AccessDeniedException.
The runtime exception you raised should be cleanly caught, but since the WebDAV 
servlet doesn't know what happened, it returns a 500.

Remy

Reply via email to