Package jsondata :: Module JSONDataExceptions :: Class JSONDataException
[hide private]
[frames] | no frames]

Class JSONDataException

source code


base Exception.

Instance Methods [hide private]
 
__init__(self, *arg)
To be replaced by derived Exceptions.
source code
 
fetch(self, *arg)
Fetch arguments.
source code
 
__repr__(self)
Cause: <reason>:<object>:<value>
source code
 
__str__(self)
Cause with additional header text.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __setattr__, __setstate__, __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__(self, *arg)
(Constructor)

source code 

To be replaced by derived Exceptions.

Fetch standard parameters and forward message to base class 'Exception'.

Overrides: object.__init__

fetch(self, *arg)

source code 
Fetch arguments.

Args:
    *args: The following order is expected:
    
    0. Reason of exception.
    
    1. Name of object that caused the exception.
    
    2. Value of the object.

Returns:
    None.

Raises:
    None.

__repr__(self)
(Representation operator)

source code 

Cause: <reason>:<object>:<value>

Overrides: object.__repr__

__str__(self)
(Informal representation operator)

source code 

Cause with additional header text.

Overrides: object.__str__