removed NotFoundException, use \RuntimeExceotion and 404 code instead, ref #87