org.modeshape.web.jcr.rest
Class JcrResources.NoSuchRepositoryExceptionMapper

java.lang.Object
  extended by org.modeshape.web.jcr.rest.JcrResources.NoSuchRepositoryExceptionMapper
All Implemented Interfaces:
javax.ws.rs.ext.ExceptionMapper<NoSuchRepositoryException>
Enclosing class:
JcrResources

@Provider
public static class JcrResources.NoSuchRepositoryExceptionMapper
extends Object
implements javax.ws.rs.ext.ExceptionMapper<NoSuchRepositoryException>


Constructor Summary
JcrResources.NoSuchRepositoryExceptionMapper()
           
 
Method Summary
 javax.ws.rs.core.Response toResponse(NoSuchRepositoryException exception)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JcrResources.NoSuchRepositoryExceptionMapper

public JcrResources.NoSuchRepositoryExceptionMapper()
Method Detail

toResponse

public javax.ws.rs.core.Response toResponse(NoSuchRepositoryException exception)
Specified by:
toResponse in interface javax.ws.rs.ext.ExceptionMapper<NoSuchRepositoryException>


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