Class HttpClientError

  • All Implemented Interfaces:
    java.io.Serializable

    @Deprecated
    public class HttpClientError
    extends java.lang.Error
    Deprecated.
    Jakarta Commons HttpClient 3.x is deprecated in the Jenkins project. It is not recommended to use it in any new code. Instead, use HTTP client API plugins as a dependency in your code. E.g. Apache HttpComponents Client API 4.x Plugin or Async HTTP Client Plugin.
    Signals that an error has occurred.
    Since:
    3.0
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HttpClientError()
      Deprecated.
      Creates a new HttpClientError with a null detail message.
      HttpClientError​(java.lang.String message)
      Deprecated.
      Creates a new HttpClientError with the specified detail message.
    • Method Summary

      • 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

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

      • HttpClientError

        public HttpClientError()
        Deprecated.
        Creates a new HttpClientError with a null detail message.
      • HttpClientError

        public HttpClientError​(java.lang.String message)
        Deprecated.
        Creates a new HttpClientError with the specified detail message.
        Parameters:
        message - The error message