Simon Fell > Its just code > HttpNotFoundHandler

Saturday, March 29, 2003

That's anoying, why isn't it public ?
More - I was trying to use HttpNotFoundHandler to get ASP.NET's 404 page, its not public so you can't, so I wrote a handler that throws new HttpException ( 404, "foo") ; expecting to get a 404 response with the text "foo", but in fact I get ASP.NET's 404 page after all !