added exception message in header for 404
Merge pull request #835 from sheebans/master

added exception message in header for 404