1. /*
  2. * @(#)InvalidObjectException.java 1.12 00/02/02
  3. *
  4. * Copyright 1996-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.io;
  11. /**
  12. * Indicates that one or more deserialized objects failed validation
  13. * tests. The argument should provide the reason for the failure.
  14. *
  15. * @see ObjectInputValidation
  16. * @since JDK1.1
  17. *
  18. * @author unascribed
  19. * @version 1.12, 02/02/00
  20. * @since JDK1.1
  21. */
  22. public class InvalidObjectException extends ObjectStreamException {
  23. /**
  24. * Constructs an <code>InvalidObjectException</code>.
  25. * @param reason Detailed message explaing the reason for the failure.
  26. *
  27. * @see ObjectInputValidation
  28. */
  29. public InvalidObjectException(String reason) {
  30. super(reason);
  31. }
  32. }