java.io
Class UTFDataFormatException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.io.IOException
                    |
                    +--java.io.UTFDataFormatException

public class UTFDataFormatException
extends IOException

Signals that a malformed UTF-8 string has been read in a DataInput stream.

See Also:
IOException, DataInput

Constructor Summary
UTFDataFormatException()
          Constructs an UTFDataFormatException with no detail message.
UTFDataFormatException(String s)
          Constructs an UTFDataFormatException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UTFDataFormatException

public UTFDataFormatException()
Constructs an UTFDataFormatException with no detail message. A detail message is a String that describes this particular exception.


UTFDataFormatException

public UTFDataFormatException(String s)
Constructs an UTFDataFormatException with the specified detail message. A detail message is a String that describes this particular exception.

Parameters:
s - the detail message