FileDocCategorySizeDatePackage
DataFormatException.javaAPI DocJava SE 5 API796Fri Aug 26 14:57:28 BST 2005java.util.zip

DataFormatException.java

/*
 * @(#)DataFormatException.java	1.13 03/12/19
 *
 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package java.util.zip;

/**
 * Signals that a data format error has occurred.
 *
 * @version 	1.13, 12/19/03
 * @author 	David Connelly
 */
public
class DataFormatException extends Exception {
    /**
     * Constructs a DataFormatException with no detail message.
     */
    public DataFormatException() {
	super();
    }

    /**
     * Constructs a DataFormatException with the specified detail message.
     * A detail message is a String that describes this particular exception.
     * @param s the String containing a detail message
     */
    public DataFormatException(String s) {
	super(s);
    }
}