declare namespace java {
    namespace net {
        // @ts-ignore
         class SocketTimeoutException extends java.io.InterruptedIOException {
            /**
             * Constructs a new SocketTimeoutException with a detail
             * message.
             */
            // @ts-ignore
            constructor(msg: string)
            /**
             * Construct a new SocketTimeoutException with no detailed message.
             */
            // @ts-ignore
            constructor()
        }
    }
}
