voldemort.server.rest
Class RestServerPutErrorHandler

java.lang.Object
  extended by voldemort.server.rest.RestServerErrorHandler
      extended by voldemort.server.rest.RestServerPutErrorHandler

public class RestServerPutErrorHandler
extends RestServerErrorHandler


Field Summary
 
Fields inherited from class voldemort.server.rest.RestServerErrorHandler
logger
 
Constructor Summary
RestServerPutErrorHandler()
           
 
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.server.rest.RestServerErrorHandler
writeErrorResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestServerPutErrorHandler

public RestServerPutErrorHandler()
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 RestServerErrorHandler


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