Is there any more elegant way to filter according if an exception is thrown?

I mean, currently my code looks like:

```
stream.filter(item -> {
    try {
        validator.with(reference)
            .hasAccess(this.authzManager)
            .isOwner();
        } catch (EspaiDocFault | DataAccessException e) {
            return false;
        }
        return true;
    }
)

```

What I'm trying to do is if an exception is thrown current item stream has to be filtered.

I'm looking for any existing util class or something similar...