code: public void loadAndValidate() throws CmsConfigurationException {
  
          CmsModule module = CmsModuleImportExportHandler.readModuleFromImport(m_path);
          m_module = module;
          List<CmsModuleDependency> dependencies = OpenCms.getModuleManager().checkDependencies(
              module,
              CmsModuleManager.DEPENDENCY_MODE_IMPORT);
          if (!dependencies.isEmpty()) {
              StringBuffer dep = new StringBuffer(32);
              for (int i = 0; i < dependencies.size(); i++) {
                  CmsModuleDependency dependency = dependencies.get(i);
                  dep.append("\n - ");
                  dep.append(dependency.getName());
                  dep.append(" (Version: ");
                  dep.append(dependency.getVersion());
                  dep.append(")");
              }
              throw new CmsConfigurationException(
                  org.opencms.ui.apps.Messages.get().container(
                      org.opencms.ui.apps.Messages.ERR_MODULEMANAGER_ACTION_MODULE_DEPENDENCY_2,
                      m_path,
                      new String(dep)));
          }
      }
docs: Loads the module data from the zip file and validates whether the module is importable, throwing an exception otherwise.<p>
  
  @throws CmsConfigurationException if the module is not importable for some reason