Added new exception type, BadRequestException