declare namespace javax { namespace management { /** * Wraps exceptions thrown by the preRegister(), preDeregister() methods * of the MBeanRegistration interface. * @since 1.5 */ // @ts-ignore class MBeanRegistrationException extends javax.management.MBeanException { /** * Creates an MBeanRegistrationException that wraps * the actual java.lang.Exception. * @param e the wrapped exception. */ // @ts-ignore constructor(e: java.lang.Exception) /** * Creates an MBeanRegistrationException that wraps * the actual java.lang.Exception with a detailed * message. * @param e the wrapped exception. * @param message the detail message. */ // @ts-ignore constructor(e: java.lang.Exception, message: java.lang.String | string) } } }