6970717273747576
public static void validateLogin(String username, String password) throws Exception { if (!validateEmptyFields(username, password)) { throw new RequiredFieldException(); } }
979899100101102103104105106107
String cell) throws Exception { if (!validateEmptyFields(name, email, username, password, confirmPassword)) { throw new RequiredFieldException(); } if (!validateEmail(email)) { throw new BadEmailException(email, "Email format invalid");