DNSProtocolError(file, line, what) {}
virtual const Rcode& getRcode() const;
};
+
+///
+/// \brief Base class for name parser exceptions.
+///
+class NameParserException : public isc::Exception {
+public:
+ NameParserException(const char* file, size_t line, const char* what) :
+ isc::Exception(file, line, what) {}
+};
+
}
}
#endif // DNS_EXCEPTIONS_H
#include <string>
#include <vector>
-#include <exceptions/exceptions.h>
+#include <dns/exceptions.h>
namespace isc {
namespace util {
namespace dns {
class AbstractMessageRenderer;
-///
-/// \brief Base class for name parser exceptions.
-///
-class NameParserException : public Exception {
-public:
- NameParserException(const char* file, size_t line, const char* what) :
- isc::Exception(file, line, what) {}
-};
-
///
/// \brief A standard DNS module exception that is thrown if the name parser
/// encounters an empty label in the middle of a name.