Packages  This Package  Prev  Next  Index  

§2.31 Class UTFDataFormatException

public  class
    extends  (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.



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


public UTFDataFormatException(String s)
Constructs an UTFDataFormatException with the specified detail message.
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