1. /*
  2. * @(#)DataFormatException.java 1.13 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.util.zip;
  8. /**
  9. * Signals that a data format error has occurred.
  10. *
  11. * @version 1.13, 12/19/03
  12. * @author David Connelly
  13. */
  14. public
  15. class DataFormatException extends Exception {
  16. /**
  17. * Constructs a DataFormatException with no detail message.
  18. */
  19. public DataFormatException() {
  20. super();
  21. }
  22. /**
  23. * Constructs a DataFormatException with the specified detail message.
  24. * A detail message is a String that describes this particular exception.
  25. * @param s the String containing a detail message
  26. */
  27. public DataFormatException(String s) {
  28. super(s);
  29. }
  30. }