if(!isModifyable(field,number)){
if(!isModifyable(field,number) && !email.equals("")){
    private void checkIfEmailFullfillProfile(int field, int number, String email, String text) throws UserDoesntFullfillEndEntityProfile {    	if(!email.trim().equals("") && email.indexOf('@') == -1)    		throw new UserDoesntFullfillEndEntityProfile("Invalid email address. There must have '@' in address.");    	    	String emaildomain = email.substring(email.indexOf('@') + 1);    	    	    	        if(!getUse(field,number) && !email.trim().equals(""))          throw new UserDoesntFullfillEndEntityProfile(text + " cannot be used in end entity profile.");              if(!isModifyable(field,number)){          String[] values;          try{            values = getValue(field, number).split(SPLITCHAR);          }catch(Exception e){            throw new UserDoesntFullfillEndEntityProfile("Error parsing end entity profile.");          }          boolean exists = false;          for(int i = 0; i < values.length ; i++){            if(emaildomain.equals(values[i].trim()))              exists = true;          }          if(!exists)            throw new UserDoesntFullfillEndEntityProfile("Field " + text + " data didn't match requirement of end entity profile.");        }    }