declare namespace java {
    namespace io {
        // @ts-ignore
         class InvalidObjectException extends java.io.ObjectStreamException {
            /**
             * Constructs an <code>InvalidObjectException</code>.
             */
            // @ts-ignore
            constructor(reason: string)
        }
    }
}
