Nuxeo Filesystem Connectors 5.4.3-SNAPSHOT

org.nuxeo.ecm.webdav.provider
Class ExceptionHandler

java.lang.Object
  extended by 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.


Constructor Summary
ExceptionHandler()
           
 
Method Summary
 Response toResponse(Exception e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler()
Method Detail

toResponse

public Response toResponse(Exception e)
Specified by:
toResponse in interface ExceptionMapper<Exception>

Nuxeo Filesystem Connectors 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.