org.jboss.dna.web.jcr.rest
Class JcrResources.JSONExceptionMapper

java.lang.Object
  extended by org.jboss.dna.web.jcr.rest.JcrResources.JSONExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<org.codehaus.jettison.json.JSONException>
Enclosing class:
JcrResources

@Provider
public static class JcrResources.JSONExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<org.codehaus.jettison.json.JSONException>


Constructor Summary
JcrResources.JSONExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(org.codehaus.jettison.json.JSONException exception)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrResources.JSONExceptionMapper

public JcrResources.JSONExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(org.codehaus.jettison.json.JSONException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<org.codehaus.jettison.json.JSONException>


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.