Package pyxb :: Module exceptions_ :: Class PyXBException |
[hide private]
[frames] | no frames]

# type PyXBException

source code

                  object --+
                           |
    exceptions.BaseException --+
                               |
            exceptions.Exception --+
                                   |
                                  PyXBException

Known Subclasses:
  - ValidationError
  - , BadDocumentError
  - , BindingError
  - , BindingGenerationError
  - , DOMGenerationError
  - , NamespaceArchiveError
  - , NamespaceError
  - , NotInNamespaceError
  - , PyXBVersionError
  - , SchemaUniquenessError
  - , SchemaValidationError

Base class for exceptions that indicate a problem that the user should fix.

Instance Methods | [hide private]
__init__(self, *args, **kw) Create an exception indicating a PyXB-related problem. | source code
_str_from_unicode(self) | source code
Inherited from `exceptions.Exception`: `__new__` Inherited from `exceptions.BaseException`: `__delattr__`, `__getattribute__`, `__getitem__`, `__getslice__`, `__reduce__`, `__repr__`, `__setattr__`, `__setstate__`, `__str__`, `__unicode__`

Class Variables | [hide private]
| _args = `None` The keywords passed to the exception constructor.
| _kw = `None`

Properties | [hide private]
Inherited from `exceptions.BaseException`: `args`, `message`

Method Details | [hide private]

### __init__(self, *args, **kw) (Constructor) | source code
Create an exception indicating a PyXB-related problem. If no args are present, a default argument is taken from the `message` keyword. Parameters: `message` - Text to provide the user with information about the problem. Overrides: exceptions.BaseException.__init__

Class Variable Details | [hide private]

  ### _args The keywords passed to the exception constructor. Note: Do not pop values from the keywords array in subclass constructors that recognize and extract values from them. They should be kept around so they're accessible generically. Value:
      None