declare namespace java {
    namespace io {
        // @ts-ignore
         class NotSerializableException extends java.io.ObjectStreamException {
            /**
             * Constructs a NotSerializableException object with message string.
             */
            // @ts-ignore
            constructor(classname: string)
            /**
             * Constructs a NotSerializableException object.
             */
            // @ts-ignore
            constructor()
        }
    }
}
