1. /*
  2. * @(#)InvalidObjectException.java 1.11 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.io;
  8. /**
  9. * Indicates that one or more deserialized objects failed validation
  10. * tests. The argument should provide the reason for the failure.
  11. *
  12. * @see ObjectInputValidation
  13. * @since JDK1.1
  14. *
  15. * @author unascribed
  16. * @version 1.11, 11/29/01
  17. * @since JDK1.1
  18. */
  19. public class InvalidObjectException extends ObjectStreamException {
  20. /**
  21. * Constructs an <code>InvalidObjectException</code>.
  22. * @param reason Detailed message explaing the reason for the failure.
  23. *
  24. * @see ObjectInputValidation
  25. */
  26. public InvalidObjectException(String reason) {
  27. super(reason);
  28. }
  29. }