public MBeanDumper(MBeanServerConnection server) throws IOException {
  setMBeanServerConnection(server);
  try {
    objname=new ObjectName(ManagementFactory.THREAD_MXBEAN_NAME);
  }
 catch (  MalformedObjectNameException e) {
    InternalError ie=new InternalError(e.getMessage());
    ie.initCause(e);
    throw ie;
  }
  parseMBeanInfo();
}

public MBeanDumper ( MBeanServerConnection server ) throws IOException { setMBeanServerConnection ( server ) ; try { objname = new ObjectName ( ManagementFactory . THREAD_MXBEAN_NAME ) ; } catch ( MalformedObjectNameException e ) { InternalError ie = new InternalError ( e . getMessage ( ) ) ; ie . initCause ( e ) ; throw ie ; } parseMBeanInfo ( ) ; }
constructs a threadmonitor object to get thread information in a remote jvm .
