Packagedom.core
Interfacepublic interface DOMException

Introduced in: DOM 1 Core 

DOM operations only raise exceptions in "exceptional" circumstances. For example, when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable). In general, DOM methods return specific error values in ordinary processing situations, such as out-of-bound errors when using NodeList.

See also

MDC - DOMException
W3C - DOMException


Public Properties
 PropertyDefined By
  DOM 1 Core code : Number
An integer indicating the type of error generated.
DOMException
Property Detail
DOM 1 Core codeproperty
code:Number

Introduced in: DOM 1 Core 

An integer indicating the type of error generated.


Implementation
    public function get code():Number
    public function set code(value:Number):void

See also