replaced generic HttpExceptions with more specific subclasses