declare namespace java {
    namespace util {
        // @ts-ignore
         class TooManyListenersException extends java.lang.Exception {
            /**
             * Constructs a TooManyListenersException with no detail message.
             * A detail message is a String that describes this particular exception.
             */
            // @ts-ignore
            constructor()
            /**
             * Constructs a TooManyListenersException with the specified detail message.
             * A detail message is a String that describes this particular exception.
             */
            // @ts-ignore
            constructor(s: string)
        }
    }
}
