declare namespace java {
    namespace rmi {
        // @ts-ignore
         class NoSuchObjectException extends java.rmi.RemoteException {
            /**
             * Constructs a <code>NoSuchObjectException</code> with the specified
             * detail message.
             */
            // @ts-ignore
            constructor(s: string)
        }
    }
}
