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