[Box Backup-commit] COMMIT r1455 - box/chris/general/bin/bbackupd

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Sat, 24 Mar 2007 16:55:02 +0000


Author: chris
Date: 2007-03-24 16:55:01 +0000 (Sat, 24 Mar 2007)
New Revision: 1455

Added:
   box/chris/general/bin/bbackupd/ClientException.txt
   box/chris/general/bin/bbackupd/Makefile.extra
Log:
Add new exception codes for use in bbackupd (and possibly other clients)


Added: box/chris/general/bin/bbackupd/ClientException.txt
===================================================================
--- box/chris/general/bin/bbackupd/ClientException.txt	                        (rev 0)
+++ box/chris/general/bin/bbackupd/ClientException.txt	2007-03-24 16:55:01 UTC (rev 1455)
@@ -0,0 +1,11 @@
+
+# NOTE: Exception descriptions are for public distributions of Box Backup only -- do not rely for other applications.
+
+
+EXCEPTION Client 13
+
+Internal				0
+AssertFailed				1
+ClockWentBackwards			2	Invalid (negative) sync period: perhaps your clock is going backwards?
+FailedToDeleteStoreObjectInfoFile	3	Failed to delete the StoreObjectInfoFile, backup cannot continue safely.
+CorruptStoreObjectInfoFile		4	The store object info file contained an invalid value and is probably corrupt. Try deleting it.

Added: box/chris/general/bin/bbackupd/Makefile.extra
===================================================================
--- box/chris/general/bin/bbackupd/Makefile.extra	                        (rev 0)
+++ box/chris/general/bin/bbackupd/Makefile.extra	2007-03-24 16:55:01 UTC (rev 1455)
@@ -0,0 +1,7 @@
+
+MAKEEXCEPTION = ../../lib/common/makeexception.pl
+
+# AUTOGEN SEEDING
+autogen_ClientException.h autogen_ClientException.cpp:	$(MAKEEXCEPTION) ClientException.txt
+	$(PERL) $(MAKEEXCEPTION) ClientException.txt
+