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:
@@ -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
|
||||
|
Reference in New Issue
Block a user