I would rather thrown an exception saying that the application is not set yet. Otherwise, you will get a fatal error in the next call on the container because of calling it on ``null`` instead of a container, or you will need to check for ``null`` everywhere