java.io
Class UTFDataFormatException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by 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

Constructor Summary
UTFDataFormatException()
          Create a new UTFDataFormatException without a descriptive error message.
UTFDataFormatException(String message)
          Create a new UTFDataFormatException with a descriptive error message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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