Unit externalIntitutionsUnit = UnitUtils .readUnitWithoutParentstByName(UnitUtils.EXTERNAL_INSTITUTION_UNIT_NAME); if (externalIntitutionsUnit == null) { throw new FenixServiceException( "error.exception.commons.institution.rootInstitutionNotFound"); }  Unit newInstitution = makeNewUnit(institutionName, externalIntitutionsUnit);
Unit newInstitution = Unit.createNewExternalInstitution(institutionName);
    public Unit run(String institutionName) throws ExcepcaoPersistencia, FenixServiceException {        Unit institution = UnitUtils.readExternalInstitutionUnitByName(institutionName);        if (institution != null) {            throw new ExistingServiceException(                    "error.exception.commons.institution.institutionAlreadyExists");        }        Unit externalIntitutionsUnit = UnitUtils                .readUnitWithoutParentstByName(UnitUtils.EXTERNAL_INSTITUTION_UNIT_NAME);        if (externalIntitutionsUnit == null) {            throw new FenixServiceException(                    "error.exception.commons.institution.rootInstitutionNotFound");        }        Unit newInstitution = makeNewUnit(institutionName, externalIntitutionsUnit);        return newInstitution;    }