Module includer :: Class IncludeError
[hide private]
[frames] | no frames]

Class IncludeError



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

Thrown by Includer() when an error occurs while processing the file. An IncludeError object always contains a single string value that contains an error message describing the problem.

Instance Methods [hide private]
 
__init__(self, errorMessage)
Create a new IncludeError.
 
__str__(self)
Get a string version of the exception.

Inherited from exceptions.Exception: __new__

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

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, errorMessage)
(Constructor)

 
Create a new IncludeError.
Parameters:
  • errorMessage (string) - the error message
Overrides: exceptions.Exception.__init__

__str__(self)
(Informal representation operator)

 
Get a string version of the exception.
Returns:
a string representing the exception
Overrides: exceptions.BaseException.__str__