Top Description Fields Constructors
java.io

public Class UTFDataFormatException

extends IOException
Class Inheritance

Signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface. See the DataInput class description for the format in which modified UTF-8 strings are read and written.
Author
Frank Yellin
Since
1.0
See Also
java.io.DataInput, java.io.DataInputStream#readUTF(java.io.DataInput), java.io.IOException

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
UTFDataFormatException()

Constructs a UTFDataFormatException with null as its error detail message.

public
UTFDataFormatException(String
the detail message.
s
)

Constructs a UTFDataFormatException with the specified detail message.

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.io.IOException.serialVersionUID.

Annotations
@Serial

Constructor Detail

UTFDataFormatExceptionback to summary
public UTFDataFormatException()

Constructs a UTFDataFormatException with null as its error detail message.

UTFDataFormatExceptionback to summary
public UTFDataFormatException(String s)

Constructs a UTFDataFormatException with the specified detail message. The string s can be retrieved later by the java.lang.Throwable#getMessage method of class java.lang.Throwable.

Parameters
s:String

the detail message.