code: void validateVersionedModuleBaseName(String appBaseName, String modBaseName) {
          for (EJBModuleMetaDataImpl ejbMMD : ivModules) {
              String versionedAppBaseName = ejbMMD.ivVersionedAppBaseName;
              if (versionedAppBaseName != null && !versionedAppBaseName.equals(appBaseName)) {
                  throw new IllegalArgumentException("appBaseName (" + appBaseName + ") does not equal previously set value : "
                          + versionedAppBaseName);
              }
  
              if (modBaseName.equals(ejbMMD.ivVersionedModuleBaseName)) {
                  throw new IllegalArgumentException("duplicate baseName : " + modBaseName);
              }
          }
      }
docs: F54184.1 F54184.2