Package java.io Previous
Previous
Java API
Java API
Index
Index
Next
Next

Class UTFDataFormatException

Constructors

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.


Constructors


UTFDataFormatException

public UTFDataFormatException() 

Constructs an UTFDataFormatException with no detail message.


UTFDataFormatException

public UTFDataFormatException(String  s) 

Constructs an UTFDataFormatException with the specified detail message.

ParameterDescription
s the detail message



© 1996 Sun Microsystems, Inc. All rights reserved.