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.neo4j.server.rest.web
Class DatabaseBlockedExceptionMapper

    java.lang.Object
      org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper

All Implemented Interfaces:
  javax.ws.rs.ext.ExceptionMapper<DatabaseBlockedException>

    @Provider
    public class DatabaseBlockedExceptionMapper

extends Object
implements javax.ws.rs.ext.ExceptionMapper<DatabaseBlockedException>

Map DatabaseBlockedException to a HTTP service not available response.

Author:
  Jacob Hansson

Constructor Summary
`DatabaseBlockedExceptionMapper()`

Method Summary
`javax.ws.rs.core.Response` | `toResponse(DatabaseBlockedException e)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### DatabaseBlockedExceptionMapper

    public DatabaseBlockedExceptionMapper()

Method Detail

### toResponse

    public javax.ws.rs.core.Response toResponse(DatabaseBlockedException e)

  Specified by:
    `toResponse` in interface `javax.ws.rs.ext.ExceptionMapper<DatabaseBlockedException>`

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 © 2011 The Neo4j Graph Database Project. All Rights Reserved.