declare namespace java {
    namespace io {
        // @ts-ignore
         class StreamCorruptedException extends java.io.ObjectStreamException {
            /**
             * Create a StreamCorruptedException and list a reason why thrown.
             */
            // @ts-ignore
            constructor(reason: string)
            /**
             * Create a StreamCorruptedException and list no reason why thrown.
             */
            // @ts-ignore
            constructor()
        }
    }
}
