Class ResponseException

All Implemented Interfaces:
Serializable

public final class ResponseException extends IOException
Exception thrown when an elasticsearch node responds to a request with a status code that indicates an error. Holds the response that was returned.
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • getResponse

      public Response getResponse()
      Returns the Response that caused this exception to be thrown.