code: public void pushAttributeErrorEvent(final String deviceName, final String attributeName, final DevFailed devFailed)
              throws DevFailed {
          xlogger.entry();
          for (final EventType eventType : EventType.values()) {
              final String fullName = EventUtilities.buildEventName(deviceName, attributeName, eventType);
              final EventImpl eventImpl = getEventImpl(fullName);
              if (eventImpl != null) {
                  for (ZMQ.Socket eventSocket : eventEndpoints.values()) {
                      eventImpl.pushDevFailedEvent(devFailed, eventSocket);
                  }
              }
          }
          xlogger.exit();
      }
docs: Check if the event must be sent and fire it if must be done
  
  @param attributeName specified event attribute
  @param devFailed     the attribute failed error to be sent as event
  @throws fr.esrf.Tango.DevFailed
  @throws DevFailed