1. /*
  2. * @(#)ObjectStreamException.java 1.12 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.io;
  8. /**
  9. * Superclass of all exceptions specific to Object Stream classes.
  10. *
  11. * @author unascribed
  12. * @version 1.12, 01/23/03
  13. * @since JDK1.1
  14. */
  15. public abstract class ObjectStreamException extends IOException {
  16. /**
  17. * Create an ObjectStreamException with the specified argument.
  18. *
  19. * @param classname the detailed message for the exception
  20. */
  21. protected ObjectStreamException(String classname) {
  22. super(classname);
  23. }
  24. /**
  25. * Create an ObjectStreamException.
  26. */
  27. protected ObjectStreamException() {
  28. super();
  29. }
  30. }