Package genshi :: Package template :: Module loader :: Class TemplateNotFound

Class TemplateNotFound



exceptions.Exception --+    
                       |    
      base.TemplateError --+
                           |
                          TemplateNotFound

Exception raised when a specific template file could not be found.

Instance Methods
 
__init__(self, name, search_path)
Create the exception.

Inherited from exceptions.Exception: __getitem__, __str__

Instance Variables

Inherited from base.TemplateError: filename, lineno, msg, offset

Method Details

__init__(self, name, search_path)
(Constructor)

 
Create the exception.
Parameters:
  • name - the filename of the template
  • search_path - the search path used to lookup the template
Overrides: base.TemplateError.__init__