Kea 2.5.6
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
12namespace isc {
13namespace dns {
14
15const Rcode&
17 return (Rcode::FORMERR());
18}
19
20const Rcode&
22 return (Rcode::BADVERS());
23}
24
25} // end of namespace dns
26} // end of namespace isc
virtual const Rcode & getRcode() const
virtual const Rcode & getRcode() const
DNS Response Codes (RCODEs) class.
Definition: rcode.h:40
static const Rcode & FORMERR()
A constant object for the FORMERR Rcode (see Rcode::FORMERR_CODE).
Definition: rcode.h:226
static const Rcode & BADVERS()
A constant object for the BADVERS Rcode (see Rcode::BADVERS_CODE).
Definition: rcode.h:316
Defines the logger used by the top-level component of kea-lfc.