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

# type SchemaUniquenessError

source code

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

Raised when somebody tries to create a schema component using a schema that has already been used in that namespace. Import and include processing would have avoided this, so somebody asked for it specifically.

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

Class Variables | [hide private]
Inherited from `PyXBException` (private): `_args`, `_kw`

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

Method Details | [hide private]

### __init__(self, namespace, schema_location, existing_schema, *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__ (inherited documentation)