voldemort.rest
Class RestGetVersionErrorHandler

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

public class RestGetVersionErrorHandler
extends RestErrorHandler


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

RestGetVersionErrorHandler

public RestGetVersionErrorHandler()
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 VERSION 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