This commit makes sure that `InvalidEndpointRequestException` is wrapped in a `ReflectionException` when invoked via JMX. Closes gh-12857
This commit makes sure that `InvalidEndpointRequestException` is wrapped in a `ReflectionException` when invoked via JMX. Closes gh-12857