org.modeshape.web.jcr.rest
Class JcrResources.JSONExceptionMapper
java.lang.Object
org.modeshape.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>
Method Summary |
javax.ws.rs.core.Response |
toResponse(org.codehaus.jettison.json.JSONException exception)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrResources.JSONExceptionMapper
public JcrResources.JSONExceptionMapper()
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-2012 JBoss, a division of Red Hat. All Rights Reserved.