From: Christian Hofstaedtler Date: Fri, 3 Apr 2015 09:26:42 +0000 (+0200) Subject: Use PDNSException in place of ZoneParserTNG::exception X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~98^2~19^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2410%2Fhead;p=thirdparty%2Fpdns.git Use PDNSException in place of ZoneParserTNG::exception --- diff --git a/pdns/zoneparser-tng.cc b/pdns/zoneparser-tng.cc index a6c90b63ac..bffbfb6463 100644 --- a/pdns/zoneparser-tng.cc +++ b/pdns/zoneparser-tng.cc @@ -122,7 +122,7 @@ unsigned int ZoneParserTNG::makeTTLFromZone(const string& str) break; default: - throw ZoneParserTNG::exception("Unable to parse time specification '"+str+"' "+getLineOfFile()); + throw PDNSException("Unable to parse time specification '"+str+"' "+getLineOfFile()); } return val; }