Class ErrorResponse

All Implemented Interfaces:
Serializable

public class ErrorResponse extends RuntimeException
Exception thrown when request returned an non-success HTTP code.
See Also:
  • Constructor Details

    • ErrorResponse

      public ErrorResponse(int code, String body)
  • Method Details

    • getCode

      public int getCode()
    • getBody

      public String getBody()