I don't see the point of introducing a parent class to contain the deprecated methods (especially as this parent class depends on its child class). Instead, the deprecated methods should stay in the ErrorHandler class itself