Fixed exception with 404 status code
Added messages for NotConfigured exceptions