diff --git a/volatility/framework/exceptions.py b/volatility/framework/exceptions.py index e32079071..d918a1742 100644 --- a/volatility/framework/exceptions.py +++ b/volatility/framework/exceptions.py @@ -41,6 +41,10 @@ class PagedInvalidAddressException(InvalidAddressException): class InvalidDataException(VolatilityException): """Thrown when an object contains some data known to be invalid for that structure""" + def __init__(self, invalid_object, *args): + super.__init__(invalid_object, *args) + self._invalid_object = invalid_object + class SymbolSpaceError(VolatilityException): """Thrown when an error occurs dealing with Symbols and Symbolspaces"""