public class UTFDataFormatException extends IOException
writeUTF
method for the format in
which UTF-8 strings are read and written.DataInput
,
DataInputStream.readUTF(java.io.DataInput)
,
IOException
Constructor and Description |
---|
UTFDataFormatException()
Constructs a
UTFDataFormatException with
null as its error detail message. |
UTFDataFormatException(String s)
Constructs a
UTFDataFormatException with the
specified detail message. |
public UTFDataFormatException()
UTFDataFormatException
with
null
as its error detail message.public UTFDataFormatException(String s)
UTFDataFormatException
with the
specified detail message. The string s
can be
retrieved later by the
Throwable.getMessage()
method of class java.lang.Throwable
.s
- the detail message.Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.