declare namespace java {
    namespace util {
        namespace concurrent {
            // @ts-ignore
             class CancellationException extends java.lang.IllegalStateException {
                /**
                 * Constructs a {@code CancellationException} with no detail message.
                 */
                // @ts-ignore
                constructor()
                /**
                 * Constructs a {@code CancellationException} with the specified detail
                 * message.
                 */
                // @ts-ignore
                constructor(message: string)
            }
        }
    }
}
