/** * Public ctor. * * @param response The response */ HttpException(@NotNull final HttpResponse response) { super(response.toString()); this.resp = response; }
public PublicApiException(String message, HttpResponse httpResponse) { super(message + "/n" + httpResponse.toString()); this.httpResponse = httpResponse; }