replaced generic HttpExceptions with more specific subclasses
removed obsolete use statements