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