Packages  This Package  Prev  Next  Index  

§2.31 Class UTFDataFormatException

public  class  java.io.UTFDataFormatException
    extends  java.io.IOException  (I-§2.29)
{
        // Constructors
    public UTFDataFormatException();	§2.31.1
    public UTFDataFormatException(String  s);	§2.31.2
}
Signals that a malformed UTF-8 string has been read in a data input stream (I-§2.24) or by any class that implements the data input interface (I-§2.24). See the writeUTF method (I-§2.5.18) for the format in which UTF-8 strings are read and written. See page 225 for more information on UTF-8.


Constructors

UTFDataFormatException

public UTFDataFormatException()
Constructs an UTFDataFormatException with no detail message.

UTFDataFormatException

public UTFDataFormatException(String s)
Constructs an UTFDataFormatException with the specified detail message.
Parameters:
s - the detail message


Packages  This Package  Prev  Next  Index
Java API Document (HTML generated by dkramer on April 22, 1996)
Copyright © 1996 Sun Microsystems, Inc. All rights reserved
Please send any comments or corrections to doug.kramer@sun.com