Class HttpRFC9457Exception

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.eclipse.aether.transport.http.RFC9457.HttpRFC9457Exception
All Implemented Interfaces:
Serializable

public class HttpRFC9457Exception extends IOException
Exception thrown by HttpTransporter in case of errors.
Since:
1.9.24
See Also:
  • Field Details

    • statusCode

      private final int statusCode
    • reasonPhrase

      private final String reasonPhrase
    • payload

      private final RFC9457Payload payload
  • Constructor Details

    • HttpRFC9457Exception

      public HttpRFC9457Exception(int statusCode, String reasonPhrase, RFC9457Payload payload)
  • Method Details

    • getStatusCode

      public int getStatusCode()
    • getReasonPhrase

      public String getReasonPhrase()
    • getPayload

      public RFC9457Payload getPayload()