Class RESTServiceException

  • All Implemented Interfaces:
    Serializable

    public class RESTServiceException
    extends RuntimeException
    Dedicated exception to provide information about failed REST service invocation. This exception can be thrown when there was successful connection but response code is different than 2XX codes.
    See Also:
    Serialized Form
    • Constructor Detail

      • RESTServiceException

        public RESTServiceException​(int status,
                                    String response,
                                    String endoint)
    • Method Detail

      • getStatus

        public int getStatus()
      • getResponse

        public String getResponse()
      • getEndoint

        public String getEndoint()