declare namespace java {
    namespace rmi {
        // @ts-ignore
         class RMISecurityException extends java.lang.SecurityException {
            /**
             * Construct an <code>RMISecurityException</code> with a detail message.
             */
            // @ts-ignore
            constructor(name: string)
            /**
             * Construct an <code>RMISecurityException</code> with a detail message.
             */
            // @ts-ignore
            constructor(name: string, arg: string)
        }
    }
}
