|
a/Allura/allura/lib/exceptions.py |
|
b/Allura/allura/lib/exceptions.py |
1 |
class ForgeError(Exception): pass
|
1 |
class ForgeError(Exception): pass
|
2 |
class ProjectConflict(ForgeError): pass
|
2 |
class ProjectConflict(ForgeError): pass
|
|
|
3 |
class ProjectOverlimitError(ForgeError): pass
|
3 |
class ToolError(ForgeError): pass
|
4 |
class ToolError(ForgeError): pass
|
4 |
class NoSuchProjectError(ForgeError): pass
|
5 |
class NoSuchProjectError(ForgeError): pass
|
5 |
class NoSuchNeighborhoodError(ForgeError): pass
|
6 |
class NoSuchNeighborhoodError(ForgeError): pass
|
6 |
class MailError(ForgeError): pass
|
7 |
class MailError(ForgeError): pass
|
7 |
class AddressException(MailError): pass
|
8 |
class AddressException(MailError): pass
|
|
|
9 |
class NoSuchNBLevelError(ForgeError): pass
|
8 |
|
10 |
|
9 |
class CompoundError(ForgeError):
|
11 |
class CompoundError(ForgeError):
|
10 |
def __repr__(self):
|
12 |
def __repr__(self):
|
11 |
return '<%s>\n%s\n</%s>' % (
|
13 |
return '<%s>\n%s\n</%s>' % (
|
12 |
self.__class__.__name__,
|
14 |
self.__class__.__name__,
|