Class DockerRequestException

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String method  
      private java.lang.String responseBody  
      private int status  
      private java.net.URI uri  
    • Constructor Summary

      Constructors 
      Constructor Description
      DockerRequestException​(java.lang.String method, java.net.URI uri, int status, java.lang.String responseBody, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      java.lang.String getResponseBody()
      The response body from the HTTP response containing an error, if any.
      java.lang.String message()
      Deprecated.
      use getResponseBody() instead to avoid confusion with Throwable.getMessage().
      java.lang.String method()  
      int status()  
      java.net.URI uri()  
      • 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
    • Field Detail

      • method

        private final java.lang.String method
      • uri

        private final java.net.URI uri
      • status

        private final int status
      • responseBody

        private final java.lang.String responseBody
    • Constructor Detail

      • DockerRequestException

        public DockerRequestException​(java.lang.String method,
                                      java.net.URI uri,
                                      int status,
                                      java.lang.String responseBody,
                                      java.lang.Throwable cause)
    • Method Detail

      • method

        public java.lang.String method()
      • uri

        public java.net.URI uri()
      • status

        public int status()
      • message

        @Deprecated
        @Nullable
        public java.lang.String message()
        Deprecated.
        use getResponseBody() instead to avoid confusion with Throwable.getMessage().
        The response body from the HTTP response containing an error, if any.
      • getResponseBody

        @Nullable
        public java.lang.String getResponseBody()
        The response body from the HTTP response containing an error, if any.
        Returns:
        response body or null.