Package java.io

Class UTFDataFormatException

All Implemented Interfaces:
Serializable

public class UTFDataFormatException
extends IOException
Signals that an incorrectly encoded UTF-8 string has been encountered, most likely while reading some DataInputStream.
See Also:
DataInputStream.readUTF(), Serialized Form
  • Constructor Details

    • UTFDataFormatException

      public UTFDataFormatException()
      Constructs a new UTFDataFormatException with its stack trace filled in.
    • UTFDataFormatException

      public UTFDataFormatException​(String detailMessage)
      Constructs a new UTFDataFormatException with its stack trace and detail message filled in.
      Parameters:
      detailMessage - the detail message for this exception.