declare namespace java {
    namespace awt {
        // @ts-ignore
         class AWTError extends java.lang.Error {
            /**
             * Constructs an instance of <code>AWTError</code> with the specified
             * detail message.
             */
            // @ts-ignore
            constructor(msg: string)
        }
    }
}
