org.nuxeo.ecm.webdav.provider
Class ExceptionHandler
java.lang.Object
org.nuxeo.ecm.webdav.provider.ExceptionHandler
- All Implemented Interfaces:
- ExceptionMapper<Exception>
@Provider
public class ExceptionHandler
- extends Object
- implements ExceptionMapper<Exception>
Simple error handler to give back a user-readable status, and log it to the console.
This is a convenience for trouble-shouting.
ExceptionHandler
public ExceptionHandler()
toResponse
public Response toResponse(Exception e)
- Specified by:
toResponse in interface ExceptionMapper<Exception>
Copyright © 2011 Nuxeo SAS. All Rights Reserved.