declare namespace java {
    namespace awt {
        // @ts-ignore
         class AWTException extends java.lang.Exception {
            /**
             * Constructs an instance of <code>AWTException</code> with the
             * specified detail message. A detail message is an
             * instance of <code>String</code> that describes this particular
             * exception.
             */
            // @ts-ignore
            constructor(msg: string)
        }
    }
}
