Merge "Added traffic update capability to Ixload TG"
[yardstick.git] / yardstick / common / exceptions.py
index c9d61e4..5e0df97 100644 (file)
@@ -424,3 +424,15 @@ class InvalidMacAddress(YardstickException):
 
 class ValueCheckError(YardstickException):
     message = 'Constraint "%(value1)s %(operator)s %(value2)s" does not hold'
+
+
+class RestApiError(RuntimeError):
+    def __init__(self, message):
+        self._message = message
+        super(RestApiError, self).__init__(message)
+
+
+class LandslideTclException(RuntimeError):
+    def __init__(self, message):
+        self._message = message
+        super(LandslideTclException, self).__init__(message)