public Object[] updateArray(Object[] objs) throws StorageException, CommunicationException {

    try {

      testStorage();

      return storage.updateArray(objs);

    } // try
    catch (CommunicationException error) {

      writeLog("Erro de comunicacao: " + error.getMessage());

      for (int counter = 0; counter < getTryNumber(); counter++) {

        try {

          sleep();

          testStorage();

          return storage.updateArray(objs);

        } // try
        catch (CommunicationException error1) {

          writeLog("Erro de comunicacao: " + error.getMessage());
        } // catch
      } // for

      throw error;
    } // catch
  }