Revision 1611
Added by Aaron Marcuse-Kubitza over 12 years ago
xml_func.py | ||
---|---|---|
20 | 20 |
|
21 | 21 |
class SyntaxException(exc.ExceptionWithCause): |
22 | 22 |
def __init__(self, cause): |
23 |
exc.ExceptionWithCause.__init__(self, 'Invalid XML function syntax: '
|
|
24 |
+exc.str_(cause))
|
|
23 |
exc.ExceptionWithCause.__init__(self, 'Invalid XML function syntax',
|
|
24 |
cause)
|
|
25 | 25 |
|
26 | 26 |
class FormatException(SyntaxException): pass |
27 | 27 |
|
Also available in: Unified diff
xml_func.py: SyntaxException: Use ExceptionWithCause to combine msg and cause's msg because it now combines them on one line, which is needed for bin/error_stats to work properly