Package java.io |
![]() Previous |
![]() Java API |
![]() Index |
![]() Next |
public class java.io.UTFDataFormatException extends java.io.IOException { // Constructors public UTFDataFormatException(); public UTFDataFormatException(String s); }
Signals that a malformed UTF-8 string has been read in a data input stream or by any class that implements the data input interface . See the writeUTF method 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.
Parameter Description s the detail message
© 1996 Sun Microsystems, Inc. All rights reserved.