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