class to hold exceptions (might delete later)