declare namespace java {
    namespace io {
        // @ts-ignore
         class NotActiveException extends java.io.ObjectStreamException {
            /**
             * Constructor to create a new NotActiveException with the reason given.
             */
            // @ts-ignore
            constructor(reason: string)
            /**
             * Constructor to create a new NotActiveException without a reason.
             */
            // @ts-ignore
            constructor()
        }
    }
}
