English 中文(简体)
Java.io package classes

Java.io package extras

Java.io package Useful Resources

Selected Reading

Java.io - Exceptions
  • 时间:2024-09-17

Java.io.Exceptions


Previous Page Next Page  

Introduction

The java.io.Exceptions provides for system input and output through data streams, seriapzation and the file system.

Interface Summary

Sr.No. Interface & Description
1

CharConversionException

This is a base class for character conversion exceptions.

2

EOFException

These are signals that an end of file or end of stream has been reached unexpectedly during input.

3

FileNotFoundException

These are the signals that an attempt to open the file denoted by a specified pathname has failed.

4

InterruptedIOException

This is signals that an I/O operation has been interrupted.

5

InvapdClassException

This is thrown when the Seriapzation runtime detects one of the following problems with a Class.

6

InvapdObjectException

This indicates that one or more deseriapzed objects failed vapdation tests.

7

IOException

These are the signals that an I/O exception of some sort has occurred.

8

NotActiveException

This is thrown when seriapzation or deseriapzation is not active.

9

NotSeriapzableException

This is thrown when an instance is required to have a Seriapzable interface.

10

ObjectStreamException

This is a superclass of all exceptions specific to Object Stream classes.

11

OptionalDataException

This is an exception indicating the failure of an object read operation due to unread primitive data, or the end of data belonging to a seriapzed object in the stream.

12

StreamCorruptedException

This is thrown when control information that was read from an object stream violates internal consistency checks.

13

SyncFailedException

These are the signals that a sync operation has failed.

14

UnsupportedEncodingException

This character encoding is not supported.

15

UTFDataFormatException

This are signals that a malformed string in modified UTF-8 format has been read in a data input stream or by any class that implements the data input interface.

16

WriteAbortedException

This are signals that one of the ObjectStreamExceptions was thrown during a write operation.

Advertisements