jtulach@147: /* jtulach@147: * Copyright (c) 1995, 2008, Oracle and/or its affiliates. All rights reserved. jtulach@147: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. jtulach@147: * jtulach@147: * This code is free software; you can redistribute it and/or modify it jtulach@147: * under the terms of the GNU General Public License version 2 only, as jtulach@147: * published by the Free Software Foundation. Oracle designates this jtulach@147: * particular file as subject to the "Classpath" exception as provided jtulach@147: * by Oracle in the LICENSE file that accompanied this code. jtulach@147: * jtulach@147: * This code is distributed in the hope that it will be useful, but WITHOUT jtulach@147: * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or jtulach@147: * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License jtulach@147: * version 2 for more details (a copy is included in the LICENSE file that jtulach@147: * accompanied this code). jtulach@147: * jtulach@147: * You should have received a copy of the GNU General Public License version jtulach@147: * 2 along with this work; if not, write to the Free Software Foundation, jtulach@147: * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. jtulach@147: * jtulach@147: * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA jtulach@147: * or visit www.oracle.com if you need additional information or have any jtulach@147: * questions. jtulach@147: */ jtulach@147: jtulach@147: package java.io; jtulach@147: jtulach@147: /** jtulach@147: * Signals that a malformed string in jtulach@147: * modified UTF-8 jtulach@147: * format has been read in a data jtulach@147: * input stream or by any class that implements the data input jtulach@147: * interface. jtulach@147: * See the jtulach@147: * DataInput jtulach@147: * class description for the format in jtulach@147: * which modified UTF-8 strings are read and written. jtulach@147: * jtulach@147: * @author Frank Yellin jtulach@147: * @see java.io.DataInput jtulach@147: * @see java.io.DataInputStream#readUTF(java.io.DataInput) jtulach@147: * @see java.io.IOException jtulach@147: * @since JDK1.0 jtulach@147: */ jtulach@147: public jtulach@147: class UTFDataFormatException extends IOException { jtulach@147: private static final long serialVersionUID = 420743449228280612L; jtulach@147: jtulach@147: /** jtulach@147: * Constructs a UTFDataFormatException with jtulach@147: * null as its error detail message. jtulach@147: */ jtulach@147: public UTFDataFormatException() { jtulach@147: super(); jtulach@147: } jtulach@147: jtulach@147: /** jtulach@147: * Constructs a UTFDataFormatException with the jtulach@147: * specified detail message. The string s can be jtulach@147: * retrieved later by the jtulach@147: * {@link java.lang.Throwable#getMessage} jtulach@147: * method of class java.lang.Throwable. jtulach@147: * jtulach@147: * @param s the detail message. jtulach@147: */ jtulach@147: public UTFDataFormatException(String s) { jtulach@147: super(s); jtulach@147: } jtulach@147: }