declare namespace java {
    namespace awt {
        namespace print {
            // @ts-ignore
             class PrinterException extends java.lang.Exception {
                /**
                 * Constructs a new <code>PrinterException</code> object
                 * without a detail message.
                 */
                // @ts-ignore
                constructor()
                /**
                 * Constructs a new <code>PrinterException</code> object
                 * with the specified detail message.
                 */
                // @ts-ignore
                constructor(msg: string)
            }
        }
    }
}
