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