aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-06-04 18:30:40 +0000
committerRob Austein <sra@hactrn.net>2009-06-04 18:30:40 +0000
commit467e7a98fea439040bd7451d67f188d334427103 (patch)
treedf9f247cb543a6e390ec38989b70ab864cc0748d /rpkid/rpki/exceptions.py
parentb0bdcca2ed05b0b0e5657623150b59cf5df305be (diff)
Rototill left-right and publication protocol to replace SQL-assigned
numeric identifiers with IRBE-assigned "handles". Daemons and test harness have been converted and seem to work; some tools like irbe_cli haven't been updated yet. svn path=/rpkid/doc/Installation; revision=2493
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index a0aabccc..e98357a0 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -258,3 +258,8 @@ class BadPublicationReply(RPKI_Exception):
"""
Unexpected reply to publication query.
"""
+
+class DuplicateObject(RPKI_Exception):
+ """
+ Attempt to create an object that already exists.
+ """