remove GConfSchemaError as it is not used anymore
svn: r13000
This commit is contained in:
parent
b95281c32e
commit
64c79d5655
@ -60,7 +60,7 @@ class DatabaseError(Exception):
|
|||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
class ReportError(Exception):
|
class ReportError(Exception):
|
||||||
"""Error used to report Report errors"""
|
"""Error used to report Report errors."""
|
||||||
def __init__(self, value, value2=""):
|
def __init__(self, value, value2=""):
|
||||||
Exception.__init__(self)
|
Exception.__init__(self)
|
||||||
self.value = value
|
self.value = value
|
||||||
@ -104,16 +104,6 @@ class HandleError(Exception):
|
|||||||
"Return string representation"
|
"Return string representation"
|
||||||
return self.value
|
return self.value
|
||||||
|
|
||||||
class GConfSchemaError(Exception):
|
|
||||||
"""Error used to report the absence of expected GConf schema."""
|
|
||||||
def __init__(self, value):
|
|
||||||
Exception.__init__(self)
|
|
||||||
self.value = value
|
|
||||||
|
|
||||||
def __str__(self):
|
|
||||||
"Return string representation"
|
|
||||||
return self.value
|
|
||||||
|
|
||||||
class WindowActiveError(Exception):
|
class WindowActiveError(Exception):
|
||||||
"""Error used to report that the request window is already displayed."""
|
"""Error used to report that the request window is already displayed."""
|
||||||
def __init__(self, value):
|
def __init__(self, value):
|
||||||
@ -140,7 +130,7 @@ class ValidationError(Exception):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
class DbError(Exception):
|
class DbError(Exception):
|
||||||
"""Error used to report BerkeleyDB errors"""
|
"""Error used to report BerkeleyDB errors."""
|
||||||
def __init__(self, value):
|
def __init__(self, value):
|
||||||
Exception.__init__(self)
|
Exception.__init__(self)
|
||||||
try:
|
try:
|
||||||
@ -157,7 +147,7 @@ class NameDisplayError(Exception):
|
|||||||
"""
|
"""
|
||||||
Error used to report that the name display format string is invalid.
|
Error used to report that the name display format string is invalid.
|
||||||
"""
|
"""
|
||||||
def __init__(self,value):
|
def __init__(self, value):
|
||||||
Exception.__init__(self)
|
Exception.__init__(self)
|
||||||
self.value = value
|
self.value = value
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user