1. /*
  2. * @(#)DataFormatException.java 1.10 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.util.zip;
  11. /**
  12. * Signals that a data format error has occurred.
  13. *
  14. * @version 1.10, 02/02/00
  15. * @author David Connelly
  16. */
  17. public
  18. class DataFormatException extends Exception {
  19. /**
  20. * Constructs a DataFormatException with no detail message.
  21. */
  22. public DataFormatException() {
  23. super();
  24. }
  25. /**
  26. * Constructs a DataFormatException with the specified detail message.
  27. * A detail message is a String that describes this particular exception.
  28. * @param s the String containing a detail message
  29. */
  30. public DataFormatException(String s) {
  31. super(s);
  32. }
  33. }