An EOFError exception is thrown when you attempt to read past the end of the available data. For example, an EOFError is thrown when one of the read methods in the IDataInput interface is called and there is insufficient data to satisfy the read request.
The Error class contains information about an error that occurred in a script. In
developing ActionScript 3.0 applications, when you run your compiled code in the
debugger version of a Flash runtime, a dialog box displays exceptions of type Error,
or of a subclass, to help you troubleshoot the code. You create an Error object by
using the Error constructor function. Typically, you throw a new Error object from
The IOError exception is thrown when some type of input or output failure occurs. For example, an IOError exception is thrown if a read/write operation is attempted on a socket that has not connected or that has become disconnected.
The IllegalOperationError exception is thrown when a method is not implemented or the implementation doesn't cover the current usage.