@ JmxOperation ( description = "Retrieve operation status" ) public String getStatus ( int id ) { try { return getOperationStatus ( id ) . toString ( ) ; } catch ( VoldemortException e ) { return "No operation with id " + id + " found" ; } }
Wrap getOperationStatus to avoid throwing exception over JMX