]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2439] (minor) Exception docstrings
authorMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 28 Jan 2013 12:40:32 +0000 (13:40 +0100)
committerMichal 'vorner' Vaner <michal.vaner@nic.cz>
Mon, 28 Jan 2013 12:40:32 +0000 (13:40 +0100)
Clarify one exception and document one old exception.

src/bin/xfrin/xfrin.py.in

index f73e9665838e7c06cdd127f44a59153915555437..8daf62f956d6f260284ed60918b3723a109813d7 100755 (executable)
@@ -96,12 +96,15 @@ class XfrinProtocolError(Exception):
 
 class XfrinZoneError(Exception):
     '''
-    An exception raised when the received zone contain invalid data.
+    An exception raised when the received zone is broken enough to be unusable.
     '''
     pass
 
 class XfrinZoneUptodate(Exception):
-    '''TBD
+    '''
+    Thrown when the zone is already up to date, so there's no need to download
+    the zone. This is not really an error case (but it's still an exceptional
+    condition and the control flow is different than usual).
     '''
     pass