Start of migrating tools to Managed Windows

svn: r6294
This commit is contained in:
Don Allingham
2006-04-09 22:53:53 +00:00
parent 4cc621cc56
commit fb27b07fc1
25 changed files with 312 additions and 468 deletions

View File

@@ -33,7 +33,7 @@ class FilterError(Exception):
def messages(self):
return (self.value,self.value2)
class DatabaseError(Exception):
class DateError(Exception):
"""Error used to report Date errors"""
def __init__(self,value=""):
Exception.__init__(self)
@@ -42,6 +42,15 @@ class DatabaseError(Exception):
def __str__(self):
return self.value
class DatabaseError(Exception):
"""Error used to report database errors"""
def __init__(self,value=""):
Exception.__init__(self)
self.value = value
def __str__(self):
return self.value
class ReportError(Exception):
"""Error used to report Report errors"""
def __init__(self,value,value2=""):