org.apache.hc.core5.http

## Class RequestNotExecutedException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.io.IOException
      - - org.apache.hc.core5.http.ConnectionClosedException
        - - org.apache.hc.core5.http.RequestNotExecutedException

- All Implemented Interfaces:
    Serializable

      @Internal
      public class RequestNotExecutedException
      extends ConnectionClosedException

  `ConnectionClosedException` subclass that signals requests cannot not be executed due to the connection being closed. Generally requests failed with this exception are safe to be re-executed.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `RequestNotExecutedException()` Constructs a new RequestNotExecutedException with a default message.
    `RequestNotExecutedException(String message)` Constructs a new RequestNotExecutedException 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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### RequestNotExecutedException

          public RequestNotExecutedException()

      Constructs a new RequestNotExecutedException with a default message.

    - #### RequestNotExecutedException

          public RequestNotExecutedException(String message)

      Constructs a new RequestNotExecutedException with the specified detail message.
      Parameters:
        `message` - The exception detail message

Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.