Class HttpCommunicationException

  • All Implemented Interfaces:
    Serializable

    public class HttpCommunicationException
    extends CommunicationException
    This class represents an exception which can happen during HTTP communication (with status code and message body).
    Since:
    1.3.0
    Author:
    Jerome Leleu
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpCommunicationException

        public HttpCommunicationException​(int code,
                                          String body)
      • HttpCommunicationException

        public HttpCommunicationException​(Throwable t)
      • HttpCommunicationException

        public HttpCommunicationException​(String message)
    • Method Detail

      • getCode

        public int getCode()
      • getBody

        public String getBody()