Class ErrorHandler


  • public class ErrorHandler
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorHandler()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void handleErrorResponse​(int statusCode, QueryResponseWire response, java.lang.String body)
      Handles errors based on the HTTP status code and response body.
      static void handleQueryFailure​(int statusCode, QueryFailure failure)
      Handles errors based on the HTTP status code and error code.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait