KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > util > zip > DataFormatException


1 /*
2  * @(#)DataFormatException.java 1.13 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.zip;
9
10 /**
11  * Signals that a data format error has occurred.
12  *
13  * @version 1.13, 12/19/03
14  * @author David Connelly
15  */

16 public
17 class DataFormatException extends Exception JavaDoc {
18     /**
19      * Constructs a DataFormatException with no detail message.
20      */

21     public DataFormatException() {
22     super();
23     }
24
25     /**
26      * Constructs a DataFormatException with the specified detail message.
27      * A detail message is a String that describes this particular exception.
28      * @param s the String containing a detail message
29      */

30     public DataFormatException(String JavaDoc s) {
31     super(s);
32     }
33 }
34
Popular Tags