The original defendant appeared by his counsel at the time to which the action, being entered and the writ amended, on the plaintiff’s motion, was continued. He was afterwards permitted to withdraw his appearance upon his own request; the defendant was then defaulted and judgment rendered against him.
Several errors are relied upon, as disclosed by the record. But we are met by a preliminary question, which renders the consideration of the errors assigned, and the determination of *421their merits superfluous. The plaintiff in error had the opportunity of presenting his objections on an appeal. At the time of his appearance the case was open. It was competent for the justice, before whom the action was pending, to have entertained his motion, to dismiss it, on the ground that the return day was indefinite, so that he could not take jurisdiction, and it was not too late for him, to have directed the writ to have been restored to its original condition. If he had not the power to permit the amendment, he had no more jurisdiction after it was made than before ; and the appearance of the defendant, for the purpose of making this objection, was not a waiver of his right to exception on that account; consent, even if express, could not confer jurisdiction, if none was before possessed. Blake v. Jones & Tr., 7 Mass. 28; Gardner v. Barker, 12 Mass. 36; Ames v. Winson, 19 Pick. 247.
If the motion to dismiss the action had not prevailed, the general issue could have been filed, (R. S. ch. 116, § 30,) and if found against the defendant, an appeal could have been taken, and upon it all his objections could have been considered. By the authority of adjudged cases, which were determined in Massachusetts before our separation from that Commonwealth and since that time, a writ of error does not lie, where the party aggrieved is entitled to a remedy by appeal. Savage v. Gulliver, 4 Mass. 171; Putnam v. Churchill, 4 Mass. 516; Jarvis v. Blanchard, 6 Mass. 4; Gay v. Richardson, 18 Pick. 417. In the case of Mark v. Guild, 3 Metc. 372, which bears a strong resemblance to the one before us, in all its essential features, the court say, “if the validity of the judgment sought to be reversed, were properly before the court, on the writ of error, we are very doubtful whether it could be supported.” “ The rule, that he, who has the right of appeal shall not bring error, applies of course only, where the party had the opportunity to appeal. If he never appeared, or was never duly summoned, and the judgment was rendered against him by default, the case would be very different.” In that case, as in the present, the defendant appeared, and withdrew his appearance ; and he was afterwards default*422ed. The plaintiff in error having had the opportunity to appeal, takes nothing by his writ.