[Chapter 24] 24.67 java.io.UTFDataFormatException (JDK 1.0)

#

| Chapter 24 The java.io Package |

## 24.67 java.io.UTFDataFormatException (JDK 1.0)

###

An `IOException` that signals that a malformed UTF-8 string has been encountered by a class that implements the `DataInput` interface. UTF-8 is an ASCII-compatible "transformation format" for Unicode characters that is often used to store and transmit Unicode text.

    public class UTFDataFormatException extends IOException {
        // Public Constructors
                public UTFDataFormatException();
                public UTFDataFormatException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->IOException->UTFDataFormatException

java.io.UnsupportedEncodingException (JDK 1.1) |  | java.io.WriteAbortedException (JDK 1.1)