Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
 
flash.errors 

The flash.error package contains error classes that are part of the Flash Player Application Programming Interface (API), rather than part of the ActionScript core language.

The ActionScript core language is the part of the language that complies with the ECMAScript standard. The Flash Player API is the part of the language that is specific to ActionScript. The flash.error package relates to Flash Player specific functionality (Flash Player API).

The error classes that are not part of the flash.error package are top level core classes that are based on the ECMAScript standard.

Note: In ActionScript 3.0, exceptions are the primary mechanism for reporting runtime errors. Error events are a secondary mechanism that are used when errors are encountered during an asynchronous operation, such as a call to the Loader.load() method.



Classes
 ClassDescription
 DRMManagerError AIR-only The DRMManager dispatches a DRMManagerError event to report errors.
 EOFError An EOFError exception is thrown when you attempt to read past the end of the available data.
 IllegalOperationError The IllegalOperationError exception is thrown when a method is not implemented or the implementation doesn't cover the current usage.
 InvalidSWFError Flash Player throws this exception when it encounters a corrupted SWF file.
 IOError The IOError exception is thrown when some type of input or output failure occurs.
 MemoryError The MemoryError exception is thrown when a memory allocation request fails.
 ScriptTimeoutError The ScriptTimeoutError exception is thrown when the script timeout interval is reached.
 SQLError AIR-only A SQLError instance provides detailed information about a failed operation.
 SQLErrorOperation AIR-only This class contains the constants that represent the possible values for the SQLError.operation property.
 StackOverflowError ActionScript throws a StackOverflowError exception when the stack available to the script is exhausted.