voldemort.server.rest
Class RestServerGetVersionErrorHandler

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

public class RestServerGetVersionErrorHandler
extends RestServerErrorHandler


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

RestServerGetVersionErrorHandler

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


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