voldemort.rest
Class RestPutErrorHandler

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

public class RestPutErrorHandler
extends RestErrorHandler


Field Summary
 
Fields inherited from class voldemort.rest.RestErrorHandler
logger
 
Constructor Summary
RestPutErrorHandler()
           
 
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

RestPutErrorHandler

public RestPutErrorHandler()
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 PUT 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