summaryrefslogtreecommitdiff
path: root/Mailman/Errors.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-02-19 21:22:20 -0500
committerBarry Warsaw2008-02-19 21:22:20 -0500
commitaab29f252ebefb1520714080a90bb42a25393f18 (patch)
treea5df0c60d606bd3fbe1455d9a6c95be5dd55e6f6 /Mailman/Errors.py
parent2bd332002f241ab7ca77f935a73692f6cbf41fe5 (diff)
downloadmailman-aab29f252ebefb1520714080a90bb42a25393f18.tar.gz
mailman-aab29f252ebefb1520714080a90bb42a25393f18.tar.zst
mailman-aab29f252ebefb1520714080a90bb42a25393f18.zip
Diffstat (limited to 'Mailman/Errors.py')
-rw-r--r--Mailman/Errors.py54
1 files changed, 0 insertions, 54 deletions
diff --git a/Mailman/Errors.py b/Mailman/Errors.py
index c0d5ced72..1c8b215c5 100644
--- a/Mailman/Errors.py
+++ b/Mailman/Errors.py
@@ -36,9 +36,6 @@ class MMUnknownListError(MMListError):
def __str__(self):
return self._listname
-class MMCorruptListDatabaseError(MMListError): pass
-class MMListNotReadyError(MMListError): pass
-class MMListAlreadyExistsError(MMListError): pass
# Membership exceptions
class MMMemberError(MailmanException): pass
@@ -189,22 +186,6 @@ class AlreadySubscribedError(SubscriptionError):
-# Database exceptions
-class DatabaseError(MailmanError):
- """A problem with the database occurred."""
-
-
-class SchemaVersionMismatchError(DatabaseError):
- def __init__(self, got):
- self._got = got
-
- def __str__(self):
- from Mailman.Version import DATABASE_SCHEMA_VERSION
- return 'Incompatible database schema version (got: %d, expected: %d)' \
- % (self._got, DATABASE_SCHEMA_VERSION)
-
-
-
class PasswordError(MailmanError):
"""A password related error."""
@@ -225,38 +206,3 @@ class BadPasswordSchemeError(PasswordError):
def __str__(self):
return 'A bad password scheme was given: %s' % self.scheme_name
-
-
-
-class UserError(MailmanError):
- """A general user-related error occurred."""
-
-
-class RosterError(UserError):
- """A roster-related error occurred."""
-
-
-class RosterExistsError(RosterError):
- """The named roster already exists."""
-
-
-
-class AddressError(MailmanError):
- """A general address-related error occurred."""
-
-
-class ExistingAddressError(AddressError):
- """The given email address already exists."""
-
-
-class AddressAlreadyLinkedError(AddressError):
- """The address is already linked to a user."""
-
-
-class AddressNotLinkedError(AddressError):
- """The address is not linked to the user."""
-
-
-
-class DuplicateStyleError(MailmanError):
- """A style with the same name is already registered."""