diff options
Diffstat (limited to 'src/lib/datasrc/cache_config.h')
-rw-r--r-- | src/lib/datasrc/cache_config.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/datasrc/cache_config.h b/src/lib/datasrc/cache_config.h index ac16415b37..cfcdc7b58c 100644 --- a/src/lib/datasrc/cache_config.h +++ b/src/lib/datasrc/cache_config.h @@ -17,6 +17,7 @@ #include <exceptions/exceptions.h> +#include <dns/name.h> #include <dns/dns_fwd.h> #include <cc/data.h> #include <datasrc/memory/load_action.h> @@ -157,12 +158,13 @@ public: /// It doesn't throw an exception in this case because the expected caller /// of this method would handle such a case internally. /// - /// \throw DataSourceError error happens in the underlying data source - /// storing the cache data. Most commonly it's because the specified zone - /// doesn't exist there. + /// \throw NoSuchZone The specified zone doesn't exist in the + /// underlying data source storing the original data to be cached. + /// \throw DataSourceError Other, unexpected but possible error happens + /// in the underlying data source. /// \throw Unexpected Unexpected error happens in the underlying data - /// source storing the cache data. This shouldn't happen as long as the - /// data source implementation meets the public API requirement. + /// source. This shouldn't happen as long as the data source + /// implementation meets the public API requirement. /// /// \param rrclass The RR class of the zone /// \param zone_name The origin name of the zone |