declare namespace java {
    namespace nio {
        namespace charset {
            // @ts-ignore
             class IllegalCharsetNameException extends java.lang.IllegalArgumentException {
                /**
                 * Constructs an instance of this class.
                 */
                // @ts-ignore
                constructor(charsetName: string)
                /**
                 * Retrieves the illegal charset name.
                 */
                // @ts-ignore
                public getCharsetName(): string;
            }
        }
    }
}
