jaroslav@609: /* jaroslav@609: * Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. jaroslav@609: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jaroslav@609: * jaroslav@609: * This code is free software; you can redistribute it and/or modify it jaroslav@609: * under the terms of the GNU General Public License version 2 only, as jaroslav@609: * published by the Free Software Foundation. Oracle designates this jaroslav@609: * particular file as subject to the "Classpath" exception as provided jaroslav@609: * by Oracle in the LICENSE file that accompanied this code. jaroslav@609: * jaroslav@609: * This code is distributed in the hope that it will be useful, but WITHOUT jaroslav@609: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jaroslav@609: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jaroslav@609: * version 2 for more details (a copy is included in the LICENSE file that jaroslav@609: * accompanied this code). jaroslav@609: * jaroslav@609: * You should have received a copy of the GNU General Public License version jaroslav@609: * 2 along with this work; if not, write to the Free Software Foundation, jaroslav@609: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jaroslav@609: * jaroslav@609: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jaroslav@609: * or visit www.oracle.com if you need additional information or have any jaroslav@609: * questions. jaroslav@609: */ jaroslav@609: jaroslav@609: package java.util.zip; jaroslav@609: jaroslav@609: import java.io.IOException; jaroslav@609: jaroslav@609: /** jaroslav@609: * Signals that a Zip exception of some sort has occurred. jaroslav@609: * jaroslav@609: * @author unascribed jaroslav@609: * @see java.io.IOException jaroslav@609: * @since JDK1.0 jaroslav@609: */ jaroslav@609: jaroslav@609: public jaroslav@609: class ZipException extends IOException { jaroslav@609: private static final long serialVersionUID = 8000196834066748623L; jaroslav@609: jaroslav@609: /** jaroslav@609: * Constructs a ZipException with null jaroslav@609: * as its error detail message. jaroslav@609: */ jaroslav@609: public ZipException() { jaroslav@609: super(); jaroslav@609: } jaroslav@609: jaroslav@609: /** jaroslav@609: * Constructs a ZipException with the specified detail jaroslav@609: * message. jaroslav@609: * jaroslav@609: * @param s the detail message. jaroslav@609: */ jaroslav@609: jaroslav@609: public ZipException(String s) { jaroslav@609: super(s); jaroslav@609: } jaroslav@609: }