CHAPTER 22: The Package java.io |
![]() Previous |
![]() Java Language |
![]() Index |
A UTFDataFormatException is thrown to indicate that a problem occurred in converting data from Java modified UTF-8 format. See method readUTF of DataInput (S22.1.15).
public class UTFDataFormatException extends IOException { public UTFDataFormatException(); public UTFDataFormatException(String s); }
public UTFDataFormatException()
This constructor initializes a newly created UTFDataFormatException with null as its error message string.
public UTFDataFormatException(String s)
This constructor initializes a newly created UTFDataFormatException by saving a reference to the error message string s for later retrieval by the getMessage method (S20.22.3).
© 1996 Sun Microsystems, Inc. All rights reserved.