declare namespace java {
    namespace net {
        // @ts-ignore
         class SocketException extends java.io.IOException {
            /**
             * Constructs a new {@code SocketException} with the
             * specified detail message.
             */
            // @ts-ignore
            constructor(msg: string)
            /**
             * Constructs a new {@code SocketException} with no detail message.
             */
            // @ts-ignore
            constructor()
        }
    }
}
