From 57c3a43ebac6a135e3a0f2abaa860ca68eedf963 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Fri, 4 Sep 2009 19:55:29 +0000 Subject: Clean up some whacked exception handling. svn path=/rpkid/rpki/exceptions.py; revision=2732 --- rpkid/rpki/exceptions.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'rpkid/rpki/exceptions.py') diff --git a/rpkid/rpki/exceptions.py b/rpkid/rpki/exceptions.py index 4434ac45..8f0ee3fc 100644 --- a/rpkid/rpki/exceptions.py +++ b/rpkid/rpki/exceptions.py @@ -278,3 +278,13 @@ class BSCNotReady(RPKI_Exception): """ BSC not yet in a usable state, signing_cert not set. """ + +class HTTPSUnexpectedState(RPKI_Exception): + """ + HTTPS event occurred in an unexpected state. + """ + +class HTTPSBadVersion(RPKI_Exception): + """ + HTTPS couldn't parse HTTP version. + """ -- cgit v1.2.3