declare namespace java {
    namespace rmi {
        // @ts-ignore
         class ConnectIOException extends java.rmi.RemoteException {
            /**
             * Constructs a <code>ConnectIOException</code> with the specified
             * detail message.
             */
            // @ts-ignore
            constructor(s: string)
            /**
             * Constructs a <code>ConnectIOException</code> with the specified
             * detail message and nested exception.
             */
            // @ts-ignore
            constructor(s: string, ex: java.lang.Exception)
        }
    }
}
