lemparan opsional jika ada

Optional.of(usuarios.findByEmail(usuario.getEmail())).ifPresent(param -> {
      throw new IllegalArgumentException("Only Strings allowed in path parameters.")
    });
DevPedrada