| DataFormatException.java |
1 /*
2 * %W% %E%
3 *
4 * Copyright (c) 2006, Oracle and/or its affiliates. All rights reserved.
5 * ORACLE 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 %I%, %G%
14 * @author David Connelly
15 */
16 public
17 class DataFormatException extends Exception {
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 s) {
31 super(s);
32 }
33 }
34