declare namespace java {
    namespace lang {
        // @ts-ignore
         class IllegalThreadStateException extends java.lang.IllegalArgumentException {
            /**
             * Constructs an <code>IllegalThreadStateException</code> with no
             * detail message.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs an <code>IllegalThreadStateException</code> with the
             * specified detail message.
             */
            // @ts-ignore
            constructor(s: string)
        }
    }
}
