Package java.io
Class InvalidObjectException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.InvalidObjectException
- All Implemented Interfaces:
Serializable
public class InvalidObjectException extends ObjectStreamException
Signals that, during deserialization, the validation of an object has failed.
-
Constructor Summary
Constructors Constructor Description InvalidObjectException(String detailMessage)Constructs anInvalidObjectExceptionwith its stack trace and detail message filled in. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidObjectException
Constructs anInvalidObjectExceptionwith its stack trace and detail message filled in.- Parameters:
detailMessage- the detail message for this exception.
-