]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use PDNSException in place of ZoneParserTNG::exception 2410/head
authorChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 3 Apr 2015 09:26:42 +0000 (11:26 +0200)
committerChristian Hofstaedtler <christian@hofstaedtler.name>
Fri, 3 Apr 2015 09:26:42 +0000 (11:26 +0200)
pdns/zoneparser-tng.cc

index a6c90b63ac019c59f4190115870965a3e12a93d9..bffbfb6463c766fa1206fb0e9b11fab808ce529d 100644 (file)
@@ -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;
 }