Package svnmailer :: Package settings :: Module _fileparser :: Class ParseError
[show private | hide private]
[frames | no frames]

Class ParseError

Exception --+            
            |            
        Error --+        
                |        
            Error --+    
                    |    
                Error --+
                        |
                       ParseError

Known Subclasses:
ContinuationError, OptionSyntaxError

Parse error
Method Summary
  __init__(self, filename, lineno)
Initialization
  __str__(self)
Returns a string representation of the Exception
    Inherited from Exception
  __getitem__(...)

Instance Variable Summary
basestring filename: The name of the file where the error occured
int lineno: The line number of the error

Class Variable Summary
str _MESSAGE: The message format string

Method Details

__init__(self, filename, lineno)
(Constructor)

Initialization
Parameters:
filename - The name of the file, where the error occured
           (type=basestring)
lineno - The erroneous line number
           (type=int)
Overrides:
exceptions.Exception.__init__

__str__(self)
(Informal representation operator)

Returns a string representation of the Exception
Overrides:
exceptions.Exception.__str__

Instance Variable Details

filename

The name of the file where the error occured
Type:
basestring

lineno

The line number of the error
Type:
int

Class Variable Details

_MESSAGE

The message format string
Type:
str
Value:
'Parse error in %(filename)r, line %(lineno)s'                         

Generated by Epydoc 2.0 on Sun Sep 25 20:49:14 2005 http://epydoc.sf.net