Start of migrating tools to Managed Windows
svn: r6294
This commit is contained in:
@@ -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=""):
|
||||
|
Reference in New Issue
Block a user