java.io
Class UTFDataFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
java.io.UTFDataFormatException
- All Implemented Interfaces:
- Serializable
public class UTFDataFormatException
- extends IOException
When reading a UTF string from an input stream, this exception is thrown
to indicate that the data read is invalid.
- See Also:
DataInput
,
DataInputStream.readUTF(DataInput)
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UTFDataFormatException
public UTFDataFormatException()
- Create a new UTFDataFormatException without a descriptive error message.
UTFDataFormatException
public UTFDataFormatException(String message)
- Create a new UTFDataFormatException with a descriptive error message.
- Parameters:
message
- the descriptive error message