ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/crab_exceptions.py
(Generate patch)

Comparing COMP/CRAB/python/crab_exceptions.py (file contents):
Revision 1.1 by nsmirnov, Thu Mar 10 16:20:30 2005 UTC vs.
Revision 1.2 by slacapra, Tue Aug 23 10:38:09 2005 UTC

# Line 5 | Line 5 | class CrabException(Exception):
5  
6      def __str__(self):
7          return self._msg
8 +
9 + class DBException(Exception):
10 +    def __init__(self, msg):
11 +        self._msg = msg
12 +        return
13 +
14 +    def __str__(self):
15 +        return self._msg

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines