Kea  1.9.9-git
dns/exceptions.cc
Go to the documentation of this file.
1 // Copyright (C) 2010-2015 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
7 #include <config.h>
8 
9 #include <dns/exceptions.h>
10 #include <dns/rcode.h>
11 
12 namespace isc {
13 namespace dns {
14 
15 const Rcode&
17  return (Rcode::FORMERR());
18 }
19 
20 const Rcode&
22  return (Rcode::BADVERS());
23 }
24 
25 } // end of namespace dns
26 } // end of namespace isc
static const Rcode & BADVERS()
A constant object for the BADVERS Rcode (see Rcode::BADVERS_CODE).
Definition: rcode.h:316
DNS Response Codes (RCODEs) class.
Definition: rcode.h:40
virtual const Rcode & getRcode() const
Defines the logger used by the top-level component of kea-dhcp-ddns.
static const Rcode & FORMERR()
A constant object for the FORMERR Rcode (see Rcode::FORMERR_CODE).
Definition: rcode.h:226
virtual const Rcode & getRcode() const