declare namespace java {
    namespace io {
        // @ts-ignore
        abstract class ObjectStreamException extends java.io.IOException {
            /**
             * Create an ObjectStreamException with the specified argument.
             */
            // @ts-ignore
            constructor(classname: string)
            /**
             * Create an ObjectStreamException.
             */
            // @ts-ignore
            constructor()
        }
    }
}
