1 /*2 * @(#)InvalidObjectException.java 1.16 04/01/123 *4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.6 */7 8 package java.io;9 10 /**11 * Indicates that one or more deserialized objects failed validation12 * tests. The argument should provide the reason for the failure.13 *14 * @see ObjectInputValidation15 * @since JDK1.116 *17 * @author unascribed18 * @version 1.16, 01/12/0419 * @since JDK1.120 */21 public class InvalidObjectException extends ObjectStreamException {22 /**23 * Constructs an <code>InvalidObjectException</code>.24 * @param reason Detailed message explaining the reason for the failure.25 *26 * @see ObjectInputValidation27 */28 public InvalidObjectException(String reason) {29 super(reason);30 }31 }32