Detailed Description

Thrown whenever DOM actions fail.

Inheritance diagram for Dom.DOMException:

Public Member Functions

 DOMException (ushort c)
 
 DOMException (ushort c, ushort sub)
 

Static Public Member Functions

static string GetString (ushort code, ushort subCode)
 

Public Attributes

ushort code
 The exception code. More...
 
ushort subCode
 More specific code. More...
 
const ushort INDEX_SIZE_ERR =1
 
const ushort DOMSTRING_SIZE_ERR =2
 
const ushort HIERARCHY_REQUEST_ERR =3
 
const ushort WRONG_DOCUMENT_ERR =4
 
const ushort INVALID_CHARACTER_ERR =5
 
const ushort NO_DATA_ALLOWED_ERR =6
 
const ushort NO_MODIFICATION_ALLOWED_ERR =7
 
const ushort NOT_FOUND_ERR =8
 
const ushort NOT_SUPPORTED_ERR =9
 
const ushort INUSE_ATTRIBUTE_ERR =10
 
const ushort INVALID_STATE_ERR =11
 
const ushort SYNTAX_ERR =12
 
const ushort INVALID_MODIFICATION_ERR =13
 
const ushort NAMESPACE_ERR =14
 
const ushort INVALID_ACCESS_ERR =15
 
const ushort VALIDATION_ERR =16
 
const ushort TYPE_MISMATCH_ERR =17
 

Constructor & Destructor Documentation

Dom.DOMException.DOMException ( ushort  c)
inline
Dom.DOMException.DOMException ( ushort  c,
ushort  sub 
)
inline

Member Function Documentation

static string Dom.DOMException.GetString ( ushort  code,
ushort  subCode 
)
inlinestatic

Member Data Documentation

ushort Dom.DOMException.code

The exception code.

const ushort Dom.DOMException.DOMSTRING_SIZE_ERR =2
const ushort Dom.DOMException.HIERARCHY_REQUEST_ERR =3
const ushort Dom.DOMException.INDEX_SIZE_ERR =1
const ushort Dom.DOMException.INUSE_ATTRIBUTE_ERR =10
const ushort Dom.DOMException.INVALID_ACCESS_ERR =15
const ushort Dom.DOMException.INVALID_CHARACTER_ERR =5
const ushort Dom.DOMException.INVALID_MODIFICATION_ERR =13
const ushort Dom.DOMException.INVALID_STATE_ERR =11
const ushort Dom.DOMException.NAMESPACE_ERR =14
const ushort Dom.DOMException.NO_DATA_ALLOWED_ERR =6
const ushort Dom.DOMException.NO_MODIFICATION_ALLOWED_ERR =7
const ushort Dom.DOMException.NOT_FOUND_ERR =8
const ushort Dom.DOMException.NOT_SUPPORTED_ERR =9
ushort Dom.DOMException.subCode

More specific code.

const ushort Dom.DOMException.SYNTAX_ERR =12
const ushort Dom.DOMException.TYPE_MISMATCH_ERR =17
const ushort Dom.DOMException.VALIDATION_ERR =16
const ushort Dom.DOMException.WRONG_DOCUMENT_ERR =4