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