Avoid wrapping RuntimeExceptions inside of a RuntimeException. Rationale: If for example the MBeanServer throws a NullPointerException, the current code will wrap this in a useless RuntimeException. By catching and rethrowing we avoid wrapping unnecessarily
Avoid wrapping RuntimeExceptions inside of a RuntimeException.
Rationale:
If for example the MBeanServer throws a NullPointerException, the current code will
wrap this in a useless RuntimeException.
By catching and rethrowing we avoid wrapping unnecessarily

martint/jmxutils