#### PyKDE - Python Bindings for KDE

# class DOM.DOMException

Table of contents
Modules
khtml Classes
All Classes

Module | khtml
Class | DOM.DOMException
Inherits |

### enums

- ExceptionCode = {INDEX_SIZE_ERR = 1, DOMSTRING_SIZE_ERR = 2, HIERARCHY_REQUEST_ERR = 3, WRONG_DOCUMENT_ERR = 4, INVALID_CHARACTER_ERR = 5, NO_DATA_ALLOWED_ERR = 6, NO_MODIFICATION_ALLOWED_ERR = 7, NOT_FOUND_ERR = 8, NOT_SUPPORTED_ERR = 9, INUSE_ATTRIBUTE_ERR = 10, INVALID_STATE_ERR = 11, SYNTAX_ERR = 12, INVALID_MODIFICATION_ERR = 13, NAMESPACE_ERR = 14, INVALID_ACCESS_ERR = 15 }

### methods

- DOMException (_code)

  returns a DOMException instance

  Argument | Type | Default
  --- | --- | ---
  _code | ushort |

- DOMException (other)

  returns a DOMException instance

  Argument | Type | Default
  --- | --- | ---
  other | DOM.DOMException |

### variables

- variables

  Variable | Type
  --- | ---
  code | ushort