KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > io > InvalidObjectException


1 /*
2  * @(#)InvalidObjectException.java 1.16 04/01/12
3  *
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 validation
12  * tests. The argument should provide the reason for the failure.
13  *
14  * @see ObjectInputValidation
15  * @since JDK1.1
16  *
17  * @author unascribed
18  * @version 1.16, 01/12/04
19  * @since JDK1.1
20  */

21 public class InvalidObjectException extends ObjectStreamException JavaDoc {
22     /**
23      * Constructs an <code>InvalidObjectException</code>.
24      * @param reason Detailed message explaining the reason for the failure.
25      *
26      * @see ObjectInputValidation
27      */

28     public InvalidObjectException(String JavaDoc reason) {
29     super(reason);
30     }
31 }
32
Popular Tags