Catch ExternalGroupException and throw a WebApplicationException instead