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