org.apache.hc.core5.http

## Interface ExceptionListener

- All Known Implementing Classes:
    LoggingExceptionListener

      @Contract(threading=STATELESS)
      public interface ExceptionListener

  Since:
    4.4

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ExceptionListener` | `NO_OP`
    `static ExceptionListener` | `STD_ERR`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onError(Exception ex)`
    `void` | `onError(HttpConnection connection, Exception ex)`

- - ### Field Detail

    - #### NO_OP

          static final ExceptionListener NO_OP

    - #### STD_ERR

          static final ExceptionListener STD_ERR

  - ### Method Detail

    - #### onError

          void onError(Exception ex)

    - #### onError

          void onError(HttpConnection connection,
                     Exception ex)

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