1. /*
  2. * @(#)ZipException.java 1.16 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. import java.io.IOException;
  9. /**
  10. * Signals that a Zip exception of some sort has occurred.
  11. *
  12. * @author unascribed
  13. * @version 1.16 12/19/03
  14. * @see java.io.IOException
  15. * @since JDK1.0
  16. */
  17. public
  18. class ZipException extends IOException {
  19. /**
  20. * Constructs an <code>ZipException</code> with <code>null</code>
  21. * as its error detail message.
  22. */
  23. public ZipException() {
  24. super();
  25. }
  26. /**
  27. * Constructs an <code>ZipException</code> with the specified detail
  28. * message.
  29. *
  30. * @param s the detail message.
  31. */
  32. public ZipException(String s) {
  33. super(s);
  34. }
  35. }