declare namespace java {
    namespace net {
        // @ts-ignore
         class NoRouteToHostException extends java.net.SocketException {
            /**
             * Constructs a new NoRouteToHostException with the specified detail
             * message as to why the remote host cannot be reached.
             * A detail message is a String that gives a specific
             * description of this error.
             */
            // @ts-ignore
            constructor(msg: string)
            /**
             * Construct a new NoRouteToHostException with no detailed message.
             */
            // @ts-ignore
            constructor()
        }
    }
}
