java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.io.IOException
                           |
                           +----java.io.ObjectStreamException
                                   |
                                   +----java.io.InvalidObjectException
 public class InvalidObjectException
  
 extends ObjectStreamException
Indicates that one or more deserialized objects failed validation tests. The argument should be the reason for the failure.