All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.contek.invoker.commons.rest.RestErrorException Maven / Gradle / Ivy

There is a newer version: 3.8.0
Show newest version
package io.contek.invoker.commons.rest;

import io.contek.invoker.commons.actor.http.AnyHttpException;

import javax.annotation.concurrent.NotThreadSafe;

@NotThreadSafe
public final class RestErrorException extends AnyHttpException {

  private final RestResponse response;

  RestErrorException(RestResponse response) {
    super(response.getCode(), response.getStringValue());
    this.response = response;
  }

  public RestResponse getResponse() {
    return response;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy