summaryrefslogtreecommitdiffstats
path: root/qa/tasks/thrasher.py
blob: 0ea1bf0ee9bc4d9001850eb8e528464ae99d238f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""
Thrasher base class
"""
class Thrasher(object):

    def __init__(self):
        super(Thrasher, self).__init__()
        self._exception = None

    @property
    def exception(self):
        return self._exception

    def set_thrasher_exception(self, e):
        self._exception = e