aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2010-07-07 20:03:43 +0000
committerRob Austein <sra@hactrn.net>2010-07-07 20:03:43 +0000
commit99d707ca1a1c45412d2c693e89fa1e62f7e76d6a (patch)
tree696c9342d981f81d2bc8b5e1a2da8b7c5e8750cb /rpkid/rpki/exceptions.py
parentb3f80fccd81a25c2cc02dcf547cb70bbfec01ebc (diff)
More refactoring and cleanup
svn path=/rpkid/rpki/exceptions.py; revision=3362
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index 520f144b..f4b823be 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -311,3 +311,13 @@ class HTTPTimeout(RPKI_Exception):
"""
HTTP connection timed out.
"""
+
+class BadIPResource(RPKI_Exception):
+ """
+ Parse failure for alleged IP resource string.
+ """
+
+class BadROAPrefix(RPKI_Exception):
+ """
+ Parse failure for alleged ROA prefix string.
+ """