summaryrefslogtreecommitdiffstats
path: root/src/lib/hooks/hooks_messages.mes
diff options
context:
space:
mode:
authorStephen Morris <stephen@isc.org>2013-06-24 21:38:41 +0200
committerStephen Morris <stephen@isc.org>2013-06-24 21:38:41 +0200
commit418f35f58458de0480d6a58299f06721481d9196 (patch)
tree6bf5cbaf07251c48f1ac490d4865776339dcd432 /src/lib/hooks/hooks_messages.mes
parent[2980] Added pre-callout and post-callout function registration (diff)
downloadkea-418f35f58458de0480d6a58299f06721481d9196.tar.xz
kea-418f35f58458de0480d6a58299f06721481d9196.zip
[2980] Miscellaneous changes
* Catch user-library-generated exceptions. * Remove hook registration function (no longer needed with a singleton ServerHooks object. * Miscellaneous documentation changes.
Diffstat (limited to 'src/lib/hooks/hooks_messages.mes')
-rw-r--r--src/lib/hooks/hooks_messages.mes14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/lib/hooks/hooks_messages.mes b/src/lib/hooks/hooks_messages.mes
index fefca6ee5f..90402cb9da 100644
--- a/src/lib/hooks/hooks_messages.mes
+++ b/src/lib/hooks/hooks_messages.mes
@@ -21,10 +21,10 @@ index (in the list of loaded libraries) has been called and returned a
success state. The address of the callout is given in the message
% HOOKS_CALLOUT_ERROR error returned by callout on hook %1 registered by library with index %2 (callout address %3)
-If a callout returns an error status when called, this warning message
-is issues. It identifies the hook to which the callout is attached,
-and the index of the library (in the list of loaded libraries) that
-registered it. The address of the callout is also given.
+If a callout returns an error status when called, this error message
+is issued. It identifies the hook to which the callout is attached, the
+index of the library (in the list of loaded libraries) that registered
+it and the address of the callout. The error is otherwise ignored.
% HOOKS_CALLOUT_REMOVED callout removed from hook %1 for library %2
This is a debug message issued during library unloading. It notes that
@@ -37,6 +37,12 @@ Although this is an error, this should not affect the running system
other than as a loss of resources. If this error persists, you should
restart BIND 10.
+% HOOKS_CALLOUT_EXCEPTION exception thrown by callout on hook %1 registered by library with index %2 (callout address %3)
+If a callout throws an exception when called, this error message is
+issued. It identifies the hook to which the callout is attached, the
+index of the library (in the list of loaded libraries) that registered
+it and the address of the callout. The error is otherwise ignored.
+
% HOOKS_DEREGISTER_ALL_CALLOUTS hook library at index %1 deregistered all callouts on hook %2
A debug message issued when all callouts on the specified hook registered
by the library with the given index were removed.