Merge "Convert IXIA latency statistics to integer"
[yardstick.git] / yardstick / common / exceptions.py
index 9fbe199..10c1f3f 100644 (file)
@@ -79,6 +79,10 @@ class FunctionNotImplemented(YardstickException):
                '"%(class_name)" class.')
 
 
+class InvalidType(YardstickException):
+    message = 'Type "%(type_to_convert)s" is not valid'
+
+
 class InfluxDBConfigurationMissing(YardstickException):
     message = ('InfluxDB configuration is not available. Add "influxdb" as '
                'a dispatcher and the configuration section')
@@ -412,3 +416,7 @@ class AclUnknownActionTemplate(YardstickException):
 
 class InvalidMacAddress(YardstickException):
     message = 'Mac address "%(mac_address)s" is invalid'
+
+
+class ValueCheckError(YardstickException):
+    message = 'Constraint "%(value1)s %(operator)s %(value2)s" does not hold'