1. /*
  2. * @(#)JarException.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-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.jar;
  11. /**
  12. * Signals that an error of some sort has occurred while reading from
  13. * or writing to a JAR file.
  14. *
  15. * @author David Connelly
  16. * @version 1.9, 02/02/00
  17. * @since 1.2
  18. */
  19. public
  20. class JarException extends java.util.zip.ZipException {
  21. /**
  22. * Constructs a JarException with no detail message.
  23. */
  24. public JarException() {
  25. }
  26. /**
  27. * Constructs a JarException with the specified detail message.
  28. * @param s the detail message
  29. */
  30. public JarException(String s) {
  31. super(s);
  32. }
  33. }