Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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>

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
`clone, equals, finalize, 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>`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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