aboutsummaryrefslogtreecommitdiff
path: root/rpkid/rpki/exceptions.py
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2009-04-29 00:03:51 +0000
committerRob Austein <sra@hactrn.net>2009-04-29 00:03:51 +0000
commit7476eb0d57f54eea047c2b9526e88753527bd0fa (patch)
tree79b6dc685d6a915f73d13f9f89f7dd022fae73a8 /rpkid/rpki/exceptions.py
parent08725383287522b6635ba0dc980bdc142f5e0882 (diff)
First pass with pylint
svn path=/rpkid/Makefile; revision=2371
Diffstat (limited to 'rpkid/rpki/exceptions.py')
-rw-r--r--rpkid/rpki/exceptions.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py
index 70608f5f..c3638375 100644
--- a/rpkid/rpki/exceptions.py
+++ b/rpkid/rpki/exceptions.py
@@ -136,3 +136,12 @@ class NoActiveCA(RPKI_Exception):
class BadClientURL(RPKI_Exception):
"""URL given to HTTPS client does not match profile."""
+
+class ClientNotFound(RPKI_Exception):
+ """Could not find specified client in database."""
+
+class BadExtension(RPKI_Exception):
+ """Forbidden X.509 extension."""
+
+class ForbiddenURI(RPKI_Exception):
+ """Forbidden URI, does not start with correct base URI."""