org.apache.hc.core5.testing.classic

## Class LoggingExceptionListener

- java.lang.Object
- - org.apache.hc.core5.testing.classic.LoggingExceptionListener

- All Implemented Interfaces:
    ExceptionListener

      public class LoggingExceptionListener
      extends Object
      implements ExceptionListener

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static LoggingExceptionListener` | `INSTANCE`

    - ### Fields inherited from interface org.apache.hc.core5.http.ExceptionListener

      `NO_OP, STD_ERR`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `LoggingExceptionListener()`

  - ### Method Summary

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

    - ### Methods inherited from class java.lang.Object

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

- - ### Field Detail

    - #### INSTANCE

          public static final LoggingExceptionListener INSTANCE

  - ### Constructor Detail

    - #### LoggingExceptionListener

          public LoggingExceptionListener()

  - ### Method Detail

    - #### onError

          public void onError(Exception ex)

      Specified by:
        `onError` in interface `ExceptionListener`

    - #### onError

          public void onError(HttpConnection conn,
                     Exception ex)

      Specified by:
        `onError` in interface `ExceptionListener`

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