Package lxml :: Module etree :: Class LxmlError

[hide private]
[frames] | no frames]

# Class LxmlError

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                               Error --+
                                       |
                                      LxmlError

Known Subclasses:
  - C14NError
  - , DTDError
  - , DocumentInvalid
  - , LxmlRegistryError
  - , LxmlSyntaxError
  - , ParserError
  - , RelaxNGError
  - , sax.SaxError
  - , SchematronError
  - , SerialisationError
  - , XIncludeError
  - , XMLSchemaError
  - , XPathError
  - , XSLTError

Main exception base class for lxml. All other exceptions inherit from this one.

Instance Methods | [hide private]

__init__(...) x.__init__(...) initializes x; see help(type(x)) for signature |

a new object with type S, a subtype of T

__new__(T, S, ...) |

Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__`, `__unicode__` Inherited from `object`: `__format__`, `__hash__`, `__reduce_ex__`, `__sizeof__`, `__subclasshook__`

Properties | [hide private]

Inherited from `exceptions.BaseException`: `args`, `message` Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(...)
(Constructor)

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__

### __new__(T, S, ...)

Returns: a new object with type S, a subtype of T
Overrides: object.__new__