From 19bdc367bfc5884fca1f0ba577c209e4a17d38d1 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Wed, 8 Aug 2018 21:26:25 +0100 Subject: [PATCH] Add in a new exception for when expected data structures cannot be found. --- volatility/framework/exceptions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/volatility/framework/exceptions.py b/volatility/framework/exceptions.py index 05ec542e2..1f9fc746f 100644 --- a/volatility/framework/exceptions.py +++ b/volatility/framework/exceptions.py @@ -79,3 +79,7 @@ class LayerException(VolatilityException): class StructureException(VolatilityException): """Thrown when an error occurs dealing with an expected structure type""" + + +class MissingStructureException(VolatilityException): + """Thrown when an error occurs due to an expected structure not being present"""