Exceptions and Dependency Injection