Be more explicit about the exception that is raised when constructing the application.