Class ProtocolException

    • Constructor Summary

      Constructors 
      Constructor Description
      ProtocolException​(int statusCode, java.lang.String body)  
      ProtocolException​(java.lang.Throwable exc, int statusCode, java.lang.String body)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBody()  
      int getStatusCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ProtocolException

        public ProtocolException​(java.lang.Throwable exc,
                                 int statusCode,
                                 java.lang.String body)
      • ProtocolException

        public ProtocolException​(int statusCode,
                                 java.lang.String body)
    • Method Detail

      • getStatusCode

        public int getStatusCode()
      • getBody

        public java.lang.String getBody()