Class RestTemplateClient.HttpException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
sk.antons.sbutils.rest.RestTemplateClient.HttpException
All Implemented Interfaces:
Serializable
Enclosing class:
RestTemplateClient

public static class RestTemplateClient.HttpException extends RuntimeException
Exception thrown if an error ocures od ResponseValidator returns false. It provides exception which was received or data of response if ResponseValidator returns false.
See Also:
  • Constructor Details

    • HttpException

      public HttpException(Throwable throwable)
    • HttpException

      public HttpException(org.springframework.http.ResponseEntity entity)
  • Method Details