logback-android/src/main/java/ch/qos/logback/classic/net/SocketReceiver.java
public void connectionFailed(SocketConnector connector, Exception ex) {
    if (ex instanceof InterruptedException) {
      addWarn("connector interrupted", ex);
    } else if (ex instanceof ConnectException) {
      addWarn(receiverId + "connection refused", ex);
    } else {
      addWarn(receiverId + "unspecified error", ex);
    }
  }
public void connectionFailed(SocketConnector connector, Exception ex) {
    if (ex instanceof InterruptedException) {
      addWarn("connector interrupted", ex);
    } else if (ex instanceof ConnectException) {
      addWarn(receiverId + "connection refused", ex);
    } else {
      addWarn(receiverId + "unspecified error", ex);
    }
  }
{@inheritDoc}