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