Object
DOMException makes use of the implementation's exception handling model. (Where this is not suitable, the implementation should provide an alternative means of indicating the exception.) In ECMAScript, the try/catch construct can be used.
A DOMException will be raised where an operation is impossible to perform. The list below can be extended by the implementation for implementation-specific exceptions.