Package org.nuxeo.ecm.webdav
Class ExceptionHandler
java.lang.Object
org.nuxeo.ecm.webdav.ExceptionHandler
- All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<Exception>
@Provider
public class ExceptionHandler
extends Object
implements javax.ws.rs.ext.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.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ExceptionHandler
public ExceptionHandler()
-
-
Method Details
-
toResponse
- Specified by:
toResponse
in interfacejavax.ws.rs.ext.ExceptionMapper<Exception>
-