Package dlinklist :: Class BaseLinklistException
[hide private]
[frames] | no frames]

Class BaseLinklistException

source code


The base exception for all Dlinklist exceptions.

Instance Methods [hide private]
 
__init__(self, msg='Error: No message given.')
Call the standard Python Exception constructor and sets the default message if no message provided.
source code
 
__str__(self)
str(x)
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __unicode__

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

Class Variables [hide private]
  __DEFAULT_MESSAGE = 'Error: No message given.'
Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, msg='Error: No message given.')
(Constructor)

source code 

Call the standard Python Exception constructor and sets the default message if no message provided.

Parameters:
  • msg (str) - The message to return when raised.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)