voldemort.rest
Class RestGetErrorHandler

java.lang.Object
  extended by voldemort.rest.RestErrorHandler
      extended by voldemort.rest.RestGetErrorHandler

public class RestGetErrorHandler
extends RestErrorHandler


Field Summary
 
Fields inherited from class voldemort.rest.RestErrorHandler
logger
 
Constructor Summary
RestGetErrorHandler()
           
 
Method Summary
 void handleExceptions(org.jboss.netty.channel.MessageEvent messageEvent, java.lang.Exception exception)
          Handle exceptions thrown by the storage.
 
Methods inherited from class voldemort.rest.RestErrorHandler
writeErrorResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestGetErrorHandler

public RestGetErrorHandler()
Method Detail

handleExceptions

public void handleExceptions(org.jboss.netty.channel.MessageEvent messageEvent,
                             java.lang.Exception exception)
Handle exceptions thrown by the storage. Exceptions specific to GET/GETALL go here. Pass other exceptions to the parent class TODO REST-Server Add a new exception for this condition - server busy with pending requests. queue is full

Overrides:
handleExceptions in class RestErrorHandler


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu