Exception: java.io.UTFDataFormatException
- public exception UTFDataFormatException
- extends IOException
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.Inheritance
Superclass tree:- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.io.IOException
- java.io.UTFDataFormatException
Methods
-
UTFDataFormatExceptiontop
public UTFDataFormatException()Constructs aUTFDataFormatExceptionwithnullas its error detail message. -
UTFDataFormatExceptiontop
public UTFDataFormatException(String s)Constructs aUTFDataFormatExceptionwith the specified detail message. The stringscan be retrieved later by theThrowable.getMessage()method of classjava.lang.Throwable.
