2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-10-11 13:56:46 +00:00

s/dns_throw/isc_throw/

now that the generic exception code is a separate library in the isc namespace
it doesn't make sense to call it dns_something.
I know it's a big change, but I believe we should do this cleanup sooner
than later.


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1181 e5f2f494-b856-4b98-b285-d166d9295462
This commit is contained in:
JINMEI Tatuya
2010-03-07 07:06:42 +00:00
parent cd553ba8ae
commit 9857db0468
37 changed files with 155 additions and 155 deletions

View File

@@ -25,7 +25,7 @@ namespace isc {
///
/// This is a base class for exceptions thrown from the DNS library module.
/// Normally, the exceptions are thrown via a convenient shortcut macro,
/// @ref dns_throw, which automatically gives trivial parameters for the
/// @ref isc_throw, which automatically gives trivial parameters for the
/// exception such as the file name and line number where the exception is
/// triggered.
///
@@ -125,7 +125,7 @@ public:
///
/// A shortcut macro to insert known values into exception arguments.
///
#define dns_throw(type, args...) throw type(__FILE__, __LINE__, args)
#define isc_throw(type, args...) throw type(__FILE__, __LINE__, args)
}
#endif // __EXCEPTIONS_H