Name

UTFDataFormatException

Synopsis

An IOException that signals that a malformed UTF-8 string has been encountered by a class that implements the DataInput interface. UTF-8 is an ASCII-compatible transformation format for Unicode characters that is often used to store and transmit Unicode text.

java.io.UTFDataFormatException

Figure 9-63. java.io.UTFDataFormatException

public class UTFDataFormatException extends IOException {
// Public Constructors
     public UTFDataFormatException( );  
     public UTFDataFormatException(String s);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.