I have a MBean that throws a runtime exception to the effect
Error during MBean operation invocationMessage: RuntimeException thrown in RequiredModelMBean while trying to invoke operation someMethod
Is there a way I can coax the exception to display a more informative message to the JMX MBean Management Console
Which console?
In both
VisualVM
andJConsole
, I getwhere
foo
is the exception'smessage
property.