[Box Backup-commit] COMMIT r1744 - box/chris/general/lib/common
boxbackup-dev@fluffy.co.uk
boxbackup-dev@fluffy.co.uk
Thu, 26 Jul 2007 22:40:03 +0100
Author: chris
Date: 2007-07-26 22:40:02 +0100 (Thu, 26 Jul 2007)
New Revision: 1744
Modified:
box/chris/general/lib/common/Box.h
Log:
iWarn if an exception is thrown, with line number, as this shouldn't be
happening on production systems anyway. (refs #3, merges [1727] and [1730])
Modified: box/chris/general/lib/common/Box.h
===================================================================
--- box/chris/general/lib/common/Box.h 2007-07-26 21:37:12 UTC (rev 1743)
+++ box/chris/general/lib/common/Box.h 2007-07-26 21:40:02 UTC (rev 1744)
@@ -113,7 +113,7 @@
#define THROW_EXCEPTION(type, subtype) \
{ \
OPTIONAL_DO_BACKTRACE \
- BOX_TRACE("Exception thrown: " #type "(" #subtype ") at " \
+ BOX_WARNING("Exception thrown: " #type "(" #subtype ") at " \
__FILE__ "(" << __LINE__ << ")") \
throw type(type::subtype); \
}