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

Class PyXBException

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              PyXBException
Known Subclasses:

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__

Inherited from object: __format__, __hash__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  _args = None
The keywords passed to the exception constructor.
  _kw = None
hash(x)
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

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: object.__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