code: private void throwErrorPayloadException(TLVElement child) throws KSIException {
          TLVElement errorCodeElement = child.getFirstChildElement(ELEMENT_TYPE_ERROR_CODE);
          TLVElement messageElement = child.getFirstChildElement(ELEMENT_TYPE_ERROR_MESSAGE);
          throw new KSIProtocolException(errorCodeElement.getDecodedLong(), "Response error " + errorCodeElement.getDecodedLong() + ": "
                  + messageElement.getDecodedString());
      }
docs: Reads error code and error message elements from given TLV element and throws KSI protocol exception containing
  error information.
  
  @param child
  KSI protocol error element.
  @throws KSIProtocolException
  will always be thrown.